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

Make creation of FixedBitSet in FacetsCollector overridable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.6
    • 4.7, 6.0
    • modules/facet
    • None
    • 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. openbitsetiter.patch
          7 kB
          Lei Wang
        2. LUCENE-5425.patch
          21 kB
          Shai Erera
        3. fixbitset.patch
          1 kB
          John Wang
        4. facetscollector.patch
          1 kB
          John Wang
        5. facetscollector.patch
          19 kB
          John Wang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: