lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: [jira] [Commented] (SOLR-2650) Empty docs array on response with grouping and result pagination
Date Thu, 01 Sep 2011 12:15:01 GMT
It's an svn co. This page has the info...

http://wiki.apache.org/solr/HowToContribute

NOTE: there's been some great work done
to allow you to get this all up and running
in IntelliJ or Eclipse. I'm not familiar
with the Maven stuff, but it's being maintained
too.

Thanks for volunteering!

Best
Erick

On Wed, Aug 31, 2011 at 5:04 PM, Des Lownds (JIRA) <jira@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/SOLR-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094896#comment-13094896
]
>
> Des Lownds commented on SOLR-2650:
> ----------------------------------
>
> I'd be happy to test a nightly, where do I download them from? or is it a svn co?
>
>> Empty docs array on response with grouping and result pagination
>> ----------------------------------------------------------------
>>
>>                 Key: SOLR-2650
>>                 URL: https://issues.apache.org/jira/browse/SOLR-2650
>>             Project: Solr
>>          Issue Type: Bug
>>          Components: search
>>    Affects Versions: 3.3
>>            Reporter: Massimo Schiavon
>>         Attachments: grouping_patch.txt
>>
>>
>> Requesting a certain number of rows and setting start parameter to a greater value
returns 0 results with grouping enabled.
>> For example, requesting:
>> http://localhost:8080/solr/web/select/?q=*:*&rows=1&start=2
>> (grouping and highlighting are enabled by default)
>> I get this response:
>> [...]
>>       response: {
>>           numFound: 117852
>>           start: 2
>>           docs: [ ]
>>       }
>>       highlighting: {
>>             0938630598: {
>>                   title: [ "..." ]
>>                   content: [ "..." ]
>>             }
>>       }
>> [...]
>> docs array is empty while the highlighted values of the document are present
>> Debugging the request in
>> org.apache.solr.search.Grouping.Command.createSimpleResponse() at row 534
>> [...]
>>      int len = Math.min(numGroups, docsGathered);
>>       if (offset > len) {
>>         len = 0;
>>       }
>> [...]
>> The initial vars values are:
>> numGroups = 1
>> docsGathered = 3
>> offset = 2
>> so after the execution len = 0
>> I've tried commenting the if statement and this resolves the issue but could introduce
some other bugs.
>
> --
> This message is automatically generated by JIRA.
> 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
>
>

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


Mime
View raw message