Make an index searchable in CCMS Web
By default, users can only search for keywords in the Full Text, Title, and Filename indexes in IXIASOFT CCMS Web. In CCMS Web 6.6 you can configure search.options.xml to make additional indexes searchable.
- In the TEXTML Administration perspective, connect to your server.
-
Expand the Content Store's
Repository node, and locate the
search.options.xml file in the
/system/webplatform/configuration/
collection.
Note:
If the file does not exist, you can get a template for it from the CCMS_ContentStoreConfiguration directory of the IXIASOFT Downloads site: https://cms.ixiasoft.com/downloads/CCMS_6.6/.
- Check out the file and open it for editing.
- As a child element of
<indexes>
, add an<index>
element and give it aname
attribute and value.The value for thename
attribute should be the name of an index defined in index-definition.xml, for example:<indexes> <index name="audience"> </index> </indexes>
You can use any index defined in index-definition.xml.
- For the
<index>
, add a<captions>
element and one<caption>
element for each language users use in CCMS Web.For example:<index name="audience"> <captions> <caption lang="en"/> <caption lang="de"/> <caption lang="ja"/> </captions> </index>
- For each
<caption>
element, add a prompt attribute, where the value is the UI string that users see and select in CCMS Web for that language.For example:<index name="audience"> <captions> <caption lang="en" prompt="Audience"/> <caption lang="de" prompt="Zielgruppen"/> <caption lang="ja" prompt="対象ユーザー"/> </captions> </index>
- For each
<index>
element, add a scope attribute.The scope can be eitherfuzzy
orprecise
:precise
: the search results will include only results that exactly match the search terms entered.fuzzy
: the search results will include results that contain the search terms entered (for example, "note" matches "noted" and "notes" but not "notice").
For example:
<index name="audience" scope="precise"> <captions> <caption lang="en" prompt="Audience"/> <caption lang="de" prompt="Zielgruppen"/> <caption lang="ja" prompt="対象ユーザー"/> </captions> </index>
- Save, close, and check in the file.
- Refresh CCMS Web.