MarkLogic 9 Product Documentation
Phrase-Through Configuration Help

Each phrase-through specifies element markup to be phrased through in searches. Searches for phrases can cross element boundaries when a phrase-through is configured for that element. For example, if there is a phrase-through configured on a <b> tag, then the following XML snippet would return a match for a search for the phrase "to be or not to be":

            <p>to <b>be</b> or not to be</p> 

The phrase indexer needs to know phrases may cross these markup boundaries at load time and reindex time so that it includes the right information in the indexes supporting phrase search.

Words contained in text node children of a phrase-through or element-word-query-through element node match words in a cts:element-word-query for both the element and for the element's parent. If the parent is also a phrase-through or element-word-query-through element, then the words also match words in a cts:element-word-query for the grandparent.

If you delete a phrase-through, the system will not automatically reindex away the indexed phrase-throughs, even if reindexing is enabled; to reindex deleted phrase-throughs, force a reindex (for example, by clicking the reindex button on the database configuration page).

Configure the following for each phrase-through:


Buttons and Tabs:

Powered by MarkLogic Server | Terms of Use | Privacy Policy