How can I search for the <tm> element?
You can create an index to allow an advanced search.
Symptom
I want to search for all topics that contain the <tm> element.
Problem
This index is not defined in the default configuration and must be added manually.
Solution
In the TEXTML Administration perspective, perform the
following:
- Edit the Index Definition file to add
the following
index:
<index NAME="tm" SYNC="False"> <stringindex KEEPEXTRACTEDVALUES="True"> <elements> <element DEPTH="INFINITE" XPATH="if(//tm) then 'true' else 'false'"/> </elements> </stringindex> </index>
- In the
summaries
section, add the following to the<fieldlist>
:<field NAME="tm" TYPE="Index" VALUE="All"/>
- To add the index to the Advanced Search panel, edit the
system/conf/advancedsearchindexes.xml file and add the
following:
<index attr="true" display="tm-exist" listable="true" name="tm" type="index" views="ALL"/>
- Right-click on your Content Store. Click Rebuild All Indexes.
- When the indexing is complete, restart your IXIASOFT CCMS Desktop. Note: The new index allows you to select a value of either true or false for the existence of a tm element.