How can I search user comments shown in the Revision History?

You can create an index to search user comments.

Description

I want to search for user comments that are shown in the Revision History of an object.

Solution

In the TEXTML Administration perspective, perform the following:
  1. 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>
    CAUTION: Be careful when editing the Index Definition document. Changes can significantly affect the indexing process, and any errors in the document can lead to data corruption or other errors. Consult with IXIASOFT Customer Support before making changes if you are unsure.
  2. 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"/>
  3. When the indexing is complete, restart your IXIASOFT CCMS Desktop.