You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2010/01/05 13:00:55 UTC
[jira] Updated: (SOLR-1701) Off-by-one error in calculating
numFound in Distributed Search
[ https://issues.apache.org/jira/browse/SOLR-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-1701:
----------------------------------------
Attachment: SOLR-1701.patch
Test to demonstrate the bug
> Off-by-one error in calculating numFound in Distributed Search
> --------------------------------------------------------------
>
> Key: SOLR-1701
> URL: https://issues.apache.org/jira/browse/SOLR-1701
> Project: Solr
> Issue Type: Bug
> Components: search
> Reporter: Shalin Shekhar Mangar
> Fix For: 1.5
>
> Attachments: SOLR-1701.patch
>
>
> {code}
> // This passes
> query("q", "*:*", "sort", "id asc", "fl", "id,text");
> // This also passes (notice the rows param)
> query("q", "*:*", "sort", "id desc", "rows", "12", "fl", "id,text");
>
> // But this fails
> query("q", "*:*", "sort", "id desc", "fl", "id,text");
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.