lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1701) Off-by-one error in calculating numFound in Distributed Search
Date Tue, 05 Jan 2010 12:00:55 GMT

     [ 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.


Mime
View raw message