lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3652) Range Faceting can't handle large bounds in some situations
Date Tue, 24 Jul 2012 23:05:35 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man updated SOLR-3652:
---------------------------

    Attachment: SOLR-3652.patch

patch that fixes both facet.date and facet.range to check that the computed "high" value of
each range is not equal to the computed "low" value to ensure there is no underflow when adding
the gap (there was already a check that "high" was not less then "low" in case of overflow
adding the gap)

patch includes test case - but all it realy does is ensure that if we return, we return an
error (no special trickery in the test about interrupt the thread if it takes too long)
                
> Range Faceting can't handle large bounds in some situations 
> ------------------------------------------------------------
>
>                 Key: SOLR-3652
>                 URL: https://issues.apache.org/jira/browse/SOLR-3652
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0-ALPHA, 3.6.1
>         Environment: OSX Lion, Macbook Pro, 8GB Ram
>            Reporter: Nicholas Jakobsen
>            Assignee: Hoss Man
>              Labels: facet, range
>             Fix For: 4.0
>
>         Attachments: SOLR-3652.patch
>
>
> 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_search__creation_event_facet_range_ftm.facet.range.start=100000000000.0&f.item_search__creation_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_search__creation_event_facet_range_ftm.facet.range.start=10000000000.0&f.item_search__creation_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_search__creation_event_facet_range_ftm.facet.range.start=100000000000.0&f.item_search__creation_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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message