How can I search for special characters and ?
You can create an index to search for special characters ™ and ®.
Symptom
I want to search all topics that contain the special characters ™ and ®.
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="specialchars" SYNC="False"> <stringindex KEEPEXTRACTEDVALUES="True"> <elements> <element XPATH="for $s in //*/text()[contains(.,'®')] return 'Register'" DEPTH="INFINITE"/> <element XPATH="for $s in //*/text()[contains(.,'™')] return 'Trademark'" DEPTH="INFINITE"/> </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="Special Characters" name="specialchars" type="index" listable="true" views="ALL"/>
- Right-click on your Content Store. Click Rebuild All Indexes.
- When the indexing is complete, restart your IXIASOFT CCMS Desktop.