Interface: LexicalSearchOptions
Defined in: packages/agentos/src/cognition/rag/search/LexicalIndex.ts:50
How a search matches.
Properties
match?
optionalmatch:"all"|"any"
Defined in: packages/agentos/src/cognition/rag/search/LexicalIndex.ts:52
'any' ranks documents holding at least one query word (the default); 'all' keeps those holding every one.
prefix?
optionalprefix:boolean
Defined in: packages/agentos/src/cognition/rag/search/LexicalIndex.ts:54
When true a stored word matches when it begins with a query word.