You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking by observation: the relational keyword indexes (SQLite, PostgreSQL) keep a row for a chunk whose text analyzes to no terms. Such a chunk is a rule line or a row of table separators. Before, IndexChunksAsync and ReplaceDocumentsAsync stored no row for it, so GetChunkIdsByDocumentIdAsync left it out while the vector store listed it. A caller comparing the two legs by id then saw the document as drifted on every check, and rewriting the keyword leg from the vector leg could not clear it. The chunk is now held under its id; it still gets no postings, never matches a search and does not count in the statistics. IKeywordSearchService.GetChunkIdsByDocumentIdAsync states this for every implementation, and the in-memory index already behaved this way. Migration: none in code. GetChunkIdsByDocumentIdAsync can now return more ids than a search could ever hit. Rows missing from an existing index come back the next time their document is indexed or its keyword leg is rewritten.