tantivy icon indicating copy to clipboard operation
tantivy copied to clipboard

split Term into Term and IndexingTerm

Open PSeitz opened this issue 1 year ago • 1 comments

  • split term and indexing term
  • add JsonTermSerializer
  • cleanup
  • clippy

This splits Term into Term and IndexingTerm. Term is used for querying, IndexingTerm during indexing. This allows to reduce the complexity of Term and a more compact format for IndexingTerm by dropping the type marker at byte 5.

Part of: https://github.com/quickwit-oss/tantivy/issues/1795

PSeitz avatar Apr 22 '24 01:04 PSeitz

As discussed offline, this looks good but let's not merge not progress on #1795 at the moment.

fulmicoton avatar Apr 22 '24 09:04 fulmicoton