# StateMatchOriginalSection

Set `StateMatchOriginalSection` to `True` to return only sections of multi-section documents that match the original query. This parameter applies when you use a state ID restriction in your action, and the state token refers to documents by reference.

By default, IDOL Server uses all sections of the documents that have references saved in the state token, even if the original query returned only some sections. When you set `StateMatchOriginalSection` to `True`, IDOL Server restricts the results to the document sections that match the original query.

Actions: | GetAllRefs GetContent List Query Suggest SuggestOnText GetQueryTagValues Summarize
Type: | Boolean
Default: | False
Example: | `StateMatchOriginalSection=True`
See Also: | StoreState StateDontMatchID StateID StateMatchID

_FT_HTML5_bannerTitle.htm