# StateMatchID

The IDs of state tokens (created earlier by using the StoreState parameter with the Query action) that contain the documents to use to restrict the term occurrence information. If you set `StateMatchID`, TermGetInfo returns information about the number of documents in the specified set that contain the query terms, and the total number of times the terms occur in those documents.

Separate multiple state tokens with plus symbols (+) or spaces. There must be no space before or after a plus symbol.

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

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

Actions: | TermGetInfo
Type: | String
Default: |
Example: | Get information for terms, based on the documents listed in the state token `B8UGIK95FKJG-23`: `StateMatchID=B8UGIK95FKJG-23` Get information for terms, based on 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: | StoreState StateMatchOriginalSection

_FT_HTML5_bannerTitle.htm