Join our Newsletter — 33% off our NHI Course
Home› Glossary› Foundations & NHI Taxonomy› Stored=false
Foundations & NHI Taxonomy

Stored=false

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Foundations & NHI Taxonomy

stored=false is a field setting that keeps a value in the index for search and retrieval logic but does not store the original field value for direct return. In search systems, this reduces what can be fetched from the index while still allowing the field to be queried or used for scoring.

What stored=false means in a search system

stored=false means the index can still retain the field for querying, filtering, or scoring, but the original field value is not kept for direct retrieval from the index. In practice, this is a storage and retrieval choice: the field remains usable to the search engine, but it is not returned as a stored document field.

This distinction matters because index-time capabilities and retrieval-time payloads are not the same thing. A field can participate in search logic without being available for fetch operations, source reconstruction, or response payloads that expect the original indexed value.

How stored=false affects search and retrieval behavior

For search relevance, a non-stored field can still contribute to matching and ranking if the engine keeps the indexed representation. That means teams can reduce stored document size without disabling the field for search logic. The trade-off is that downstream components cannot assume the field will be available for display, export, or rehydration from the index alone.

Designers often use this setting when the original value is available elsewhere, or when the system only needs the field for retrieval logic rather than direct return. It is a practical way to separate searchability from retrievability.

When stored=false is a useful design choice

stored=false is most useful when the data model already has another source of truth for the original value, or when the index only needs the field for search-time behavior. That can reduce storage overhead and simplify the indexed representation.

It also helps when a field is operationally important for matching but not appropriate to expose back through normal query responses. In those cases, the configuration preserves the search function while limiting what the index can hand back directly.

Common misunderstandings about stored=false

A common mistake is to assume stored=false means the field is not indexed at all. It does not. The setting affects stored retrieval, not whether the field can participate in search logic, provided the engine is configured to index it in the first place.

Another misunderstanding is to assume the original value can always be reconstructed from the index later. If the field is not stored and no other source preserves the value, direct retrieval is not available from the index alone.

Risk and Threat Considerations

stored=false is usually a design choice, not a security control, but it can create operational risk if teams confuse searchability with recoverability. If the original field is not preserved elsewhere, a response workflow, audit export, or application feature may later discover that the value cannot be returned from the index.

Failure mechanism: The field remains queryable in indexed form, yet the original value is absent from stored retrieval paths, so systems that expect to read it back may fail or fall back to incomplete data.

Impact: This can affect search result rendering, troubleshooting, reindexing workflows, and any downstream process that depends on fetching the original value from the index rather than from a source system.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SC-28 — Protection of Information at Reststored=false changes what is retained for retrieval, which affects how indexed data is preserved at rest.
Recommendation — Limit retained indexed values to only what retrieval workflows truly need.
ISO/IEC 27001:2022A.8.13 — Information BackupNon-stored fields require alternate sources of truth if the original value must remain recoverable.
Recommendation — Ensure original values remain recoverable through separate governed records.
CIS Controls v8CIS-3 — Data ProtectionThe setting reduces retained data exposure by avoiding storage of original field values in the index.
Recommendation — Minimise indexed retention for fields that do not need direct return.

Practitioner Guidance

What to watch for: Treat stored=false as a deliberate separation between search behavior and retrieval behavior. Before using it, confirm where the authoritative original value lives and whether any consumer relies on the index to return that value later.

Governance implication: Document which fields are intentionally non-stored so developers, operators, and support teams do not mistake a search-capable field for one that can safely be fetched back from the index.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org