Open topic with navigation
To find documents that contain exact matches of a keyword, enable the
AdvancedSearch setting before you index content into the IDOL Content component.
If you set
True in the
[Server] section of the IDOL Content component configuration file before you index content, you can query for exact matches of keywords by putting the keyword in quotation marks when you perform the query (this setting also switches Content to an advanced weighting algorithm which improves conceptual querying).
For example, if you query Content with
"lovely", it finds only documents that contain the exact term lovely.
If you do not put the word in quotation marks, Content matches it conceptually; that is, the query lovely matches documents that stem to the same value as lovely (for example, it matches documents that contain, lovely, love, loved, loving, and so on).
You can also suffix a keyword with a tilde (
~) to indicate that the term is already stemmed. In this case, Content does not stem the query term. However, unlike an exact keyword search using quotation marks, this query might return documents that contain other terms that stem to your query term. For example, searching for
Love~ returns documents that contain the term love, but also other terms that stem to love, for example, lovely, love, loved, and loving.
Using the tilde suffix to search for a term that is not its own stem does not return documents that contain the original term. For example, searching for
loving~ matches terms that stem to loving. The term loving stems to love, so this search does not return documents that contain the term loving.
You can use the
TermGetInfo action to find the stem of a term.