[
https://issues.apache.org/jira/browse/SOLR-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928890#action_12928890
]
Scott Kister commented on SOLR-2207:
------------------------------------
When I try the patch, my filter query no longer works.
For example, this returns the correct results, documents with source_id = 1
GET
'http://localhost:5000/solr/select?q=*:*&group=false&group.field=collapse_id&fq=source_id:1&rows=2&indent=true&fl=source_id'
However, if I set group=true, the results no longer contain documents with
source_id:1
GET
'http://localhost:5000/solr/select?q=*:*&group=true&group.field=collapse_id&fq=source_id:1&rows=2&indent=true&fl=source_id'
{
"responseHeader":{
"status":0,
"QTime":446},
"grouped":{
"collapse_id":{
"matches":7299136,
"groups":[{
"groupValue":-315163990,
"doclist":{"numFound":154,"start":0,"docs":[
{
"source_id":-1}]
}},
{
"groupValue":-439578260,
"doclist":{"numFound":75,"start":0,"docs":[
{
"source_id":-1}]
}}]}}}
I also tried the same query against an older build of solr (Sep 24 2010), and
in that case the second query did return the correct results. The solr build
that is not working is the Nov 4 2010 build.
> Add paging capabilities to Result Grouping functionality
> --------------------------------------------------------
>
> Key: SOLR-2207
> URL: https://issues.apache.org/jira/browse/SOLR-2207
> Project: Solr
> Issue Type: Improvement
> Reporter: Grant Ingersoll
> Assignee: Yonik Seeley
> Priority: Minor
> Fix For: 4.0
>
> Attachments: SOLR-2207.patch
>
>
> Would be great to have the following:
> # Paging of docs within a group via start and offset parameters such that one
> can drill down into a group
> # While I know we can't return a total count of all groups, it would be nice
> to know if there are more groups. This could simply be done by asking for 1
> more group than requested by the user. If that group is non-empty, then set
> a flag indicating there are more groups. Then, start and offset could also
> be applied to allow paging down the groups. We should also think about how
> we can optimize this so that we can page very deep into the results without
> needing to increase the PQ size.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]