How can I search user comments shown in the Revision History?
You can create an index to search user comments.
Symptom
I want to search for user comments that are shown in the Revision History of an object.
Problem
The Advanced Search panel in the Search Results view does not have an index for user comments.
Solution
In the TEXTML Administration perspective, perform the
following:
- There is an existing index for user comments that searches the last entry
in the Revision History. If you want to search all entries of the Revision
History, edit the index definition file and copy the index but remove the
[@current='true']
value:<index CUSTOMPROPERTY="True" NAME="user_comment" SYNC="False"> <stringindex KEEPEXTRACTEDVALUES="True"> <elements> <element DEPTH="INFINITE" XPATH="//userComment[@current='true']"/> </elements> </stringindex> </index>
- To add the index to the Advanced Search panel, edit the system/conf/advancedsearchindexes.xml file
and add the following:
<index attr="false" display="User Comment" listable="true" name="user_comment" type="index" views="ALL"/>
- When the indexing is complete, restart your IXIASOFT CCMS Desktop.