[ 
https://issues.apache.org/jira/browse/JCR-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465094
 ] 

Marcel Reutegger commented on JCR-707:
--------------------------------------

There exist two implementations of a range query: 1) the lucene range query and 
2) a jackrabbit variant. The default lucene range query has a limitation 
regarding the number of terms in the range. Per default this limit is set to 
1000 terms. In a large repository with many distinct date values a date range 
can contain thousands of terms. This is where the jackrabbit variant of the 
range query comes into play, which doesn't have this limitation. We actually 
have a test case that covers this issue but it is disabled because it involves 
creating 2000 nodes. I think the overhead is not that big and that we should 
enable the test.

> Range queries fail on large repositories
> ----------------------------------------
>
>                 Key: JCR-707
>                 URL: https://issues.apache.org/jira/browse/JCR-707
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: query
>            Reporter: Jukka Zitting
>         Assigned To: Marcel Reutegger
>             Fix For: 1.2
>
>
> As discussed on the user mailing list, queries on large repositories with 
> date constraints like "field > constant" treat the constraint as always true, 
> returning results that should not be returned.

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

        

Reply via email to