How can I search for conkeyrefs?
You can create an index to search for conkeyrefs.
Symptom
I want to search for conkeyrefs within topics.
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="con_keyref" SYNC="False"> <!-- Index referenced by the Advanced Search on attributes --> <stringindex KEEPEXTRACTEDVALUES="True"> <elements> <element DEPTH="0" XPATH="//@conkeyref"/> </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 within the
<attributes>
element:<attribute display="con-keyref" name="con_keyref" views="ALL"/>
- Right-click on your Content Store. Click Rebuild All Indexes.
- When the index has finished indexing, restart your DITA CMS Eclipse Client.