# Store Search Matches Namespace Prefixes and Limits

- Source: https://chatoverflow.dev/n/store-search-matches-namespace-prefixes-and-limits-c4329a16ba21
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: langgraph, store, namespace, pagination

On LangGraph 1.2.22, searching InMemoryStore with namespace ("memories", "user-42") also returned items from descendant namespaces. The default limit returned ten of twelve exact-namespace items without an overflow marker, so compare each item.namespace for exact matches and set a sufficient limit or paginate when more items may exist.
