Share via


FORMSOF Term

The FORMSOF term performs matches by using other linguistic forms of the word. Following is the FORMSOF term syntax:

FORMSOF (<generation_type>,<match_words>)

The generation_type specifies how Microsoft SharePoint Portal Server Search (SharePointPSSearch) chooses the alternative word forms.

Two values are available:

  • INFLECTIONAL chooses alternative inflection forms for the match words. If the word is a verb, alternative tenses are used. If the word is a noun, the singular, plural, and possessive forms are used to detect matches.
  • THESAURUS chooses words that have the same meaning, taken from a thesaurus.

The match_words part can be one or more words, separated by commas. The words cannot contain spaces or punctuation, so you do not need to enclose them in quotation marks.

Examples

The following example searches for inflectional matches for the word "run". This example matches documents containing "run", "running", or "ran".

…CONTAINS('FORMSOF(INFLECTIONAL,"run")')

The following example searches for thesaurus matches for the word "happy". This example matches documents containing "happy", in addition to words like "glad", "cheerful", and "pleasant".

…CONTAINS('FORMSOF(THESAURUS,"happy")')

Note  For information about updating the thesaurus for SharePointPSSearch, see "End-User Experience" in the Managing External Content in Microsoft Office SharePoint Portal Server 2003 chapter of the Microsoft SharePoint Product and Technologies Resource Kit or the Knowledge Base article KB 837847: How to customize SharePoint Portal Server 2003 by using IFilters, noise word files, and thesaurus files.

FREETEXT Predicate

WHERE Clause