You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Prateek Sachan (JIRA)" <ji...@apache.org> on 2014/12/19 13:30:13 UTC
[jira] [Created] (LUCENE-6126) Group sort by numFound
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org