You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/09/17 21:01:40 UTC
[jira] Created: (SOLR-2123) Search Grouping: Group by query (like
facet.query)
Search Grouping: Group by query (like facet.query)
--------------------------------------------------
Key: SOLR-2123
URL: https://issues.apache.org/jira/browse/SOLR-2123
Project: Solr
Issue Type: Sub-task
Reporter: Yonik Seeley
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (SOLR-2123) Search Grouping: Group by query (like
facet.query)
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12911011#action_12911011 ]
Yonik Seeley commented on SOLR-2123:
------------------------------------
OK, so I'm thinking to treat this just like faceting... group.query=foo:bar will give you the top docs that match that query.
This is the current format for group.field:
{code}
"grouped":{
"popularity":{
"matches":19,
"groups":[{
"groupValue":6,
"doclist":{"numFound":5,"start":0,"docs":[
{code}
And this is what I propose for group.query (which basically just drops the "groups" list and goes straight to a doclist.
{code}
"grouped":{
"foo:bar":{
"matches":19,
"doclist":{"numFound":5,"start":0,"docs":[
{code}
> Search Grouping: Group by query (like facet.query)
> --------------------------------------------------
>
> Key: SOLR-2123
> URL: https://issues.apache.org/jira/browse/SOLR-2123
> Project: Solr
> Issue Type: Sub-task
> Reporter: Yonik Seeley
>
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (SOLR-2123) Search Grouping: Group by query (like
facet.query)
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-2123:
-------------------------------
Attachment: SOLR-2123.patch
Here's the patch for filter.query
The number of docs returned in that group is still governed by group.limit.
In the tests, I also changed the separator between path and expected json from : to ==, which will lead to a lot fewer false hits, and allowed be to easily use something with a : in the path.
> Search Grouping: Group by query (like facet.query)
> --------------------------------------------------
>
> Key: SOLR-2123
> URL: https://issues.apache.org/jira/browse/SOLR-2123
> Project: Solr
> Issue Type: Sub-task
> Reporter: Yonik Seeley
> Attachments: SOLR-2123.patch
>
>
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Resolved: (SOLR-2123) Search Grouping: Group by query (like
facet.query)
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley resolved SOLR-2123.
--------------------------------
Resolution: Fixed
committed.
> Search Grouping: Group by query (like facet.query)
> --------------------------------------------------
>
> Key: SOLR-2123
> URL: https://issues.apache.org/jira/browse/SOLR-2123
> Project: Solr
> Issue Type: Sub-task
> Reporter: Yonik Seeley
> Attachments: SOLR-2123.patch
>
>
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org