Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10528

Use docvalue for range faceting in JSON facet API

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.5
    • Fix Version/s: None
    • Component/s: Facet Module
    • Labels:
      None

      Description

      Range faceting in JSON facet API has only one implementation. In the implementation, all buckets are allocated and then range queries are executed for all the buckets. Therefore, memory usage and computational cost of range facet can be very high if range is wide and gap is narrow.

      I think range faceting in JSON facet should have the implementation which uses DocValues instead of inverted indices. By scanning DocValues, we can execute range facets much more efficiently especially when the number of buckets is large.

        Attachments

        1. SOLR-10528.patch
          53 kB
          Kensho Hirasawa
        2. SOLR-10528.patch
          46 kB
          Kensho Hirasawa
        3. SOLR-10528.patch
          21 kB
          Kensho Hirasawa

          Issue Links

            Activity

              People

              • Assignee:
                mkhludnev Mikhail Khludnev
                Reporter:
                liniku Kensho Hirasawa
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: