How can I search for topics that do not have a shortdesc?
You can create an index to search for topics that do not have a shortdesc.
Description
I want to search for topics that don't have a shortdesc.
Solution
In the TEXTML Administration
perspective, perform the following:
- Edit the Index Definition file.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.
- Add the following index:
<index NAME="shortdesc_count" SYNC="False"> <stringindex KEEPEXTRACTEDVALUES="True"> <elements> <element DEPTH="INFINITE" XPATH="count(//shortdesc)"/> </elements> </stringindex> </index>
- In the summaries section, add the following
field:
<field NAME="shortdesc" TYPE="Index" VALUE="All"/>
- 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 attr="true" display="shortdesc-count" listable="false" name="shortdesc_count" type="index" views="ALL"/>
- When the indexing is complete, restart your IXIASOFT CCMS Desktop.
- Perform an advanced search for shortdesc-count with a value of 0.