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

Make creation of FixedBitSet in FacetsCollector overridable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.7, 6.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      In FacetsCollector, creation of bits in MatchingDocs are allocated per query. For large indexes where maxDocs are large creating a bitset of maxDoc bits will be expensive and would great a lot of garbage.

      Attached patch is to allow for this allocation customizable while maintaining current behavior.

        Attachments

        1. facetscollector.patch
          19 kB
          John Wang
        2. facetscollector.patch
          1 kB
          John Wang
        3. fixbitset.patch
          1 kB
          John Wang
        4. LUCENE-5425.patch
          21 kB
          Shai Erera
        5. openbitsetiter.patch
          7 kB
          Lei Wang

          Activity

            People

            • Assignee:
              shaie Shai Erera
              Reporter:
              john.wang@gmail.com John Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: