How can I add a specialized element that we created to the advanced search?
You can create an index to display the specialized element in the advanced search.
Symptom
We created a specialized element called <edition>
and want to be able to search for it in the advanced
search using the element type drop-down list.
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="edition" SYNC="False"> <stringindex KEEPEXTRACTEDVALUES="True"> <elements> <element DEPTH="INFINITE" XPATH="//edition"/> </elements> </stringindex> </index>
- To add the index to the Advanced
Search panel in the Search view, edit the system/conf/advancedSearchIndexes.xml file and add the
following:
<index display="Edition" listable="false" name="edition" type="index" views="ALL"/>
- When the indexing is complete, restart your IXIASOFT CCMS Desktop.