You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "tom liu (JIRA)" <ji...@apache.org> on 2010/11/18 06:16:13 UTC

[jira] Created: (SOLR-2243) Group Querys maybe return docList of 0 results

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


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


[jira] Resolved: (SOLR-2243) Group Querys maybe return docList of 0 results

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-2243.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Thanks Tom, I just fixed bug in trunk.
Note that your patch looks like it is to an older version of grouping - you should update to the latest version as there have been a number of bug fixes.

> 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
>             Fix For: 4.0
>
>         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


[jira] Updated: (SOLR-2243) Group Querys maybe return docList of 0 results

Posted by "tom liu (JIRA)" <ji...@apache.org>.
     [ 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


[jira] [Closed] (SOLR-2243) Group Querys maybe return docList of 0 results

Posted by "tom liu (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

tom liu closed SOLR-2243.
-------------------------


Resolved
                
> 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
>             Fix For: 4.0
>
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org