SEARCH_INDEX

The SEARCH_INDEX element specifies whether the wildcard index should be created for both record search and dimension search.

DTD

<!ELEMENT SEARCH_INDEX
    ( WILDCARD_INDEX?
    , POSITIONAL_INDEX?
    , WORDAFFINITY_INDEX?
    )
>
<!ATTLIST SEARCH_INDEX
    INDEX_BUCKET_SIZE       CDATA   #IMPLIED
    INMEM_INDEX_THRESHOLD   CDATA   #IMPLIED
    TEXTSEARCH_SIZE_EST     CDATA   #IMPLIED
    MIN_WORD_OCCURRENCES    CDATA   #IMPLIED
    MIN_WORD_LENGTH         CDATA   #IMPLIED
    MAX_WORD_LENGTH         CDATA   #IMPLIED
>

Attributes

The following sections describe the SEARCH_INDEX element's attributes.

INDEX_BUCKET_SIZE

This attribute is deprecated.

INMEM_INDEX_THRESHOLD

This attribute has been moved to RECSEARCH_INDEXES and DIMSEARCH_INDEX.

TEXTSEARCH_SIZE_EST

This attribute is deprecated.

MIN_WORD_OCCURRENCES

This attribute has been moved to RECSEARCH_INDEXES and DIMSEARCH_INDEX.

MIN_WORD_LENGTH

This attribute has been moved to RECSEARCH_INDEXES and DIMSEARCH_INDEX.

MAX_WORD_LENGTH

This attribute has been moved to RECSEARCH_INDEXES and DIMSEARCH_INDEX.

Sub-elements

The following table provides a brief overview of the SEARCH_INDEX sub-elements. Note that the WORDAFFINITY_INDEX element is deprecated.

Sub-element Brief description
WILDCARD_INDEX Specifies that a wildcard index should be created for the text collection that contains this element.
POSITIONAL_INDEX Specifies that a word position index should be created for the text collection that contains this element.

Example

This example enables positional indexing and wildcard indexing for searching on the Description property.

<RECSEARCH_INDEX NAME="Description">
   <SEARCH_INDEX>
     <WILDCARD_INDEX/>
     <POSITIONAL_INDEX/>
   </SEARCH_INDEX>
</RECSEARCH_INDEX>