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

Make creation of FixedBitSet in FacetsCollector overridable

    XMLWordPrintableJSON

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. facetscollector.patch
          1 kB
          John Wang
        2. facetscollector.patch
          19 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

            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: