Configure Search view
You can customize the Search for and Advanced Search panes in the Search view.
The following table describes the types of searches that you can configure and the search panels to which they apply:
Search type | Description | Applies to | |
---|---|---|---|
Search for panel | Advanced Search panel | ||
Index | Search according to indexed criteria. | Yes | Yes |
Elements | Search within a specific XML element. | Yes | Yes |
Dates | Search for documents created or modified on fixed or relative dates. | No | Yes |
Attributes | Search for XML elements having specific attribute values. | Yes | Yes |
They are shown in the following diagram:
IXIASOFT CCMS comes with a default set of indexes, elements, attributes, and dates that are available to your users. You can modify the advancedsearchindexes.xml file (within the /system/conf collection), to add more search options by adding a new element according to the search type, as follows:
Search type | Element to add |
---|---|
Index | Add an <index> element to <indexes> |
Element | Add an <element> element to <elements> |
Date | Add a <date> element to <dates> |
Attribute | Add an <attribute> element to <attributes> |
<indexes>
<index display="Created By" name="createdBy" type="property" listable="true" views="ALL"/>
<index ...>
...
</indexes>
The following table describes the attributes for the <index>, <element>, <date>, and <attribute> elements.
Attribute | Description | Values |
---|---|---|
display |
Determines the label that appears in:
|
Can be any sequence of characters. |
name |
Links the element with the corresponding index definition. | Must be the same string as is used in the Index
Definition document (NAME
attribute). |
type |
Indicates whether an index definition can be modified. Applies to <index> and <date> elements. |
|
listable |
Determines whether the Value field is presented to the user as a list. |
|
attr |
Determines whether users can search inside non-standard attributes (such as version number, which contains spaces). |
|
views |
Deprecated. |
To configure Search view options: