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

Use docvalue for range faceting in JSON facet API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 6.5
    • None
    • Facet Module
    • 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

              Unassigned Unassigned
              liniku Kensho Hirasawa
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: