Category Component 26.1
Category Component Help

# Store the Result State

To create a state token from your query results, use the `StoreState` parameter when you issue the query:

    http://localhost:20000/action=Query&Text=apple&StoreState=True

To use document references, rather than `DocIDs`, add the `StoredStateField` parameter:

    http://localhost:20000/action=Query&Text=apple&StoreState=True&StoredStateField=Reference

The returned results include a tag set that holds the token name, for example `<autn:state>CWQ4FJ9LZSE5-6</autn:state>`.

If the query is likely to return a very large data set, you can optimize performance by not printing the query results (assuming that you want only the state token):

    http://localhost:20000/action=Query&Text=apple&StoreState=True&MaxResults=5000&Print=noresults

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Category Component 26.1

Topic Title: Store the Result State