This parameter description applies only to the TermExpand action.
The term to expand according to the specified Expansion.
The following table describes the value to set in the Text
parameter for each type of Expansion.
Expansion | Text | TermExpand returns |
---|---|---|
Fuzzy
|
A misspelled term. | Terms with similar spelling to your term. |
Synonym
|
A synonym link from a synonym query. (See Synonym) | The terms and phrases that the synonym link corresponds to. |
Stem
|
Any term. | A list of terms that have the same word stem as the specified term. |
Wild
|
A Wildcard term. | A list of terms that the Wildcard term expands to. |
When you set Expansion to Fuzzy
or Wild
, you can add a field restriction. If you set a field restriction, TermExpand returns only terms that appear in this field. You can use only fields that you set in the UnstemmedTrackFields configuration parameter.
Specify field restrictions in the form Text=Text:Field
, where:
Text
is the misspelled or Wildcard term to expand.
Field
is the field to restrict by.
Actions: | TermExpand |
Type: | String |
Default: | |
Example: | TermExpand&Text=ryhthm&Expansion=Fuzzy This example returns terms whose spelling is similar to that of the term ryhthm (for example, TermExpand&Text=Renolds:Author&Expansion=Fuzzy This example returns terms whose spelling is similar to that of the term TermExpand&Text=ar*&Expansion=Wild This example returns terms that match the Wildcard term TermExpand&Text=Mauri*:Country&Expansion=Wild This example returns terms that match the Wildcard term TermExpand&Text=FKKKNNLLX&Expansion=Synonym This example returns the term phrases that the synonym link |
See Also: |
UnstemmedTrackFields configuration parameter |
|