Skip to content

Reuse packedTerms between two TermInSetQuery which are combined by IndexOrDocValuesQuery #14425

@mkhludnev

Description

@mkhludnev

Description

In cases like these

new IndexOrDocValuesQuery(
           new TermInSetQuery(MultiTermQuery.CONSTANT_SCORE_BLENDED_REWRITE, name(), iBytesRefs), 
           new TermInSetQuery(MultiTermQuery.DOC_VALUES_REWRITE, name(), dVByteRefs));

I would like to reuse packedTerms between TermInSetQuery instances. What's the best approach to do it? Or it isn't worthwhile?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions