Change default operator for full-text search

Build 1501 on 14/Nov/2017  This topic last edited on: 8/Jan/2016, at 17:08

To change the default operator ("All") for the full-text search in any full-text enabled field, edit the searchUI in the appropriate file (Shell4_Config.xml, Ted4_Config.xml, Fred4_Config.xml).

Example

In this example, we changed the default operator in the title field (that is enabled for the full-text search - it uses template kind="ExaleadFullText") from All to Exact. Note: the All operator is the system default, therefore, if the op property is not specified, it defaults to All.

BEFORE

        <attribute path="[archiveObject.title]">

          <ui mode="Normal" labelPosition="Side">

            <template kind="ExaleadFullText" />

          </ui>

        </attribute>

AFTER

        <attribute path="[archiveObject.title]" op="ExaleadExact" >

          <ui mode="Normal" labelPosition="Side">

            <template kind="ExaleadFullText" />

          </ui>

     </attribute>

The complete set of opcodes can be found here:

http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4CommonOpCodeClassTopic.html

Note: since build 2711, all ExaleadXXX templates are renamed to FullTextXXX, and the ExaleadFullText became FullText.