Skip to content

Precompiled 2024-05-23-637c1d4

Choose a tag to compare

@github-actions github-actions released this 23 May 00:50
· 4056 commits to main since this release
TermMetadata RPC (#26203)

This PR adds a new trait `TermMetadataFetcher` that will get the term metadata for a segment given term values and the number of documents containing that term that were deleted. This PR doesn't hook it up to the `build_new_segment` code, but the end goal is to get rid of `TermDictionary` lookups in backend. The searcher downloads the relevant segment, gets term ordinals based on the term value, and counts the number of terms that have been completely deleted (num_deleted_docs = doc frequency in the segment).

GitOrigin-RevId: f911381c2b17272575c1bc672343e15d5c5f2723