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

improve how MTQs interact with the terms dict cache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • core/index
    • None
    • New

    Description

      Some small improvements:

      • Adds a TermsEnum.cacheCurrentTerm "hint" (codec can make this a no-op)
      • Removes the FTE.useTermsCache
      • Changes MTQ's TermCollector API to accept the TermsEnum so collectors can eg call .docFreq directly
      • Adds expert ctor to TermQuery allowing you to pass in the docFreq

      Attachments

        1. LUCENE-2674.patch
          31 kB
          Michael McCandless
        2. LUCENE-2674.patch
          28 kB
          Michael McCandless
        3. LUCENE-2674.patch
          28 kB
          Michael McCandless
        4. LUCENE-2674.patch
          16 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: