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

Range Faceting will infinite loop if gap is too small relative to lower bounds of range (underflow occurs on add)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.1, 4.0-ALPHA
    • 4.0-BETA, 6.0
    • None
    • OSX Lion, Macbook Pro, 8GB Ram

    Description

      Executing the following query will lock up the java process running solr.

      facet=true&facet.range=item_search_creation_event_facet_range_ftm&f.item_searchcreation_event_facet_range_ftm.facet.range.start=100000000000.0&f.item_searchcreation_event_facet_range_ftm.facet.range.end=100000086200.0&f.item_search_creation_event_facet_range_ftm.facet.range.gap=2160.0&q=%2A%3A%2A

      But decreasing the size of the min and max works fine

      facet=true&facet.range=item_search_creation_event_facet_range_ftm&f.item_searchcreation_event_facet_range_ftm.facet.range.start=10000000000.0&f.item_searchcreation_event_facet_range_ftm.facet.range.end=10000086200.0&f.item_search_creation_event_facet_range_ftm.facet.range.gap=2160.0&q=%2A%3A%2A

      And so does increasing the range gap

      facet=true&facet.range=item_search_creation_event_facet_range_ftm&f.item_searchcreation_event_facet_range_ftm.facet.range.start=100000000000.0&f.item_searchcreation_event_facet_range_ftm.facet.range.end=100000086200.0&f.item_search_creation_event_facet_range_ftm.facet.range.gap=21600.0&q=%2A%3A%2A

      Attachments

        1. SOLR-3652.patch
          4 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            njakobsen Nicholas Jakobsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: