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

Add TermQuery.getTermContext

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: