lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tom liu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-2243) Group Querys maybe return docList of 0 results
Date Thu, 18 Nov 2010 05:20:13 GMT

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message