[
https://issues.apache.org/jira/browse/SOLR-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
tom liu updated SOLR-2243:
--------------------------
Attachment: SolrIndexSearcher.patch
i found:
# set group.limit=0
# in solrIndexSearcher, i give value 1 to Collector constrution
for example:
{noformat}
Phase2GroupCollector collector = new Phase2GroupCollector(
(TopGroupCollector)gc.collector, gc.groupBy, gc.context,
collectorSort,
gc.docsPerGroup == 0? 1 : groupCommand.docsPerGroup,
needScores);
{noformat}
> Group Querys maybe return docList of 0 results
> ----------------------------------------------
>
> Key: SOLR-2243
> URL: https://issues.apache.org/jira/browse/SOLR-2243
> Project: Solr
> Issue Type: Wish
> Components: search
> Environment: JDK1.6/Tomcat6
> Reporter: tom liu
> Attachments: SolrIndexSearcher.patch
>
>
> i wish have bellow results:
> {noformat}
> <lst name="grouped">
> <lst name="countrycode">
> <int name="matches">1411</int>
> <arr name="groups">
> <lst>
> <str name="groupValue">unit</str>
> <result name="doclist" numFound="921" start="0"/>
> </lst>
> <lst>
> <str name="groupValue">china</str>
> <result name="doclist" numFound="139" start="0"/>
> </lst>
> </arr>
> </lst>
> </lst>
> {noformat}
--
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]