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 12:58:54 UTC
[jira] Created: (SOLR-1701) Off-by-one error in calculating
numFound in Distributed Search
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
{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.
[jira] Resolved: (SOLR-1701) Off-by-one error in calculating
numFound in Distributed Search
Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-1701.
-----------------------------------------
Resolution: Invalid
Fix Version/s: (was: 1.5)
Stupid mistake. Used delQ instead of del :(
> 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
> 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.
[jira] Updated: (SOLR-1701) Off-by-one error in calculating
numFound in Distributed Search
Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
[ 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.