Lucene - Core
  1. Lucene - Core
  2. LUCENE-2674

improve how MTQs interact with the terms dict cache

    Details

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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development