# StateMatchID

The IDs of one or more state tokens (created earlier by using the StoreState parameter with theQuery action) that list documents that you want to allow in the results. IDOL Server does not return any results that do not exist in the specified state tokens. Separate multiple state tokens with commas. There must be no space before or after a comma.

If you specify the token ID only, all documents listed in the token are potential results. If you add a (zero-based) index range, or individual numbers separated by plus symbols (+), in square brackets after the token ID, IDOL Server allows only that range or set of documents.

NOTE: When you specify documents or document ranges, you must list the entries in increasing numerical order.

NOTE: When you use StateDontMatchID and `StateMatchID` together, IDOL removes any documents in the StateDontMatchID list from the `StateMatchID` list.

Actions: | List Query Suggest SuggestOnText GetQueryTagValues
Type: | String
Default: |
Example: | Restrict the query to documents listed in the state token `B8UGIK95FKJG-23`: `StateMatchID=B8UGIK95FKJG-23` Restrict the query to the first twelve documents, plus the fourteenth and sixteenth documents, listed in the state token `B8UGIK95FKJG-23`: `StateMatchID=B8UGIK95FKJG-23[0-11+13+15]`
See Also: | StateDontMatchID StoreState StateMatchOriginalSection

_FT_HTML5_bannerTitle.htm