Skip to content

Reuse packedTerms between two TermInSetQuery what combined with IndexOrDocValuesQuery #14425

Open
@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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions