Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8379

Add TermQuery.getTermContext

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • None
    • None
    • New

    Description

      The TermQuery class can optionally hold a TermContext which hold pre-computed, per leaf data to make seeking (to postings for that term) faster.  I'd like to add a getter for it, to help with diagnostics, just knowing whether a given TermQuery holds a term context or not.

      Attachments

        1. LUCENE-8379.patch
          3 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: