Find 25.1
Find Administration Guide

# Change the Stored State Field

Find uses Content component stored states for certain features, such as comparing two sets of search results. By default, the stored state tokens store the document IDs of the documents in a query, which Find uses to retrieve the documents.

In some cases, you might want to use the document references in stored states, rather than IDs. For example, if you distribute copies of your index and use a Distributed Action Handler (DAH) for queries, you must use references because documents might have different IDs in different copies of the index. In this case, you can configure Find to use a stored state field, which it passes to the DAH in its queries.

For more information about the stored state field, refer to the Content Component Help.

To change the stored state field

1. Go to the Find home directory.

2. Open `config.json` in a text editor.

3. Find the `storedStateField` property, or add it if it does not exist, and set it to the name of the reference field that you want to use in your stored states. For example:

       "storedStateField": "MainReference"

4. Restart Find to apply your configuration changes.

Copyright 2015-2024 Open Text
Version 25.1 | Last updated January 2025

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 Find 25.1

Topic Title: Change the Stored State Field