Prateek Sachan created LUCENE-6126:
--------------------------------------

             Summary: Group sort by numFound
                 Key: LUCENE-6126
                 URL: https://issues.apache.org/jira/browse/LUCENE-6126
             Project: Lucene - Core
          Issue Type: New Feature
            Reporter: Prateek Sachan


Currently, the doing a group query gives the response in the following manner:
grouped":{
    "field_name: value":{
      "matches":5,
      "doclist":{"numFound":3,"start":0,"docs":[{ ... }]
      }}

There should be a way to sort the groups. One way of doing it would be to store 
a field in the index and apply sort on that. 

But, having a way to sort groups according to "numFound" would be better than 
storing temp fields for this purpose.


 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to