lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2123) Search Grouping: Group by query (like facet.query)
Date Sat, 18 Sep 2010 13:00:34 GMT

    [ 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


Mime
View raw message