Skip to content

Add Facets#getSpecificValues (bulk) and bulk path -> ordinal lookup for taxonomy faceting #12180

Description

@gsmiller

Description

LUCENE-9476 added the ability to do bulk ordinal -> path lookups, but we have no bulk lookup in the other direction. I think we can find some efficiency gains if we add bulk lookup for paths, which we could then put behind a Facets#getSpecificValues API for retrieving facet values for multiple paths in bulk. There's some nuance down in the depths of MultiTerms, so maybe there's nothing to be gained here, but I think there ought to be (I'll try to look in more detail later, but wanted to open an issue to track the idea in case I forget). A few thoughts:

  1. We can seek the terms dictionaries in a single direction if we sort the paths before looking them up.
  2. We should be able to reuse postings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions