lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1682) Implement CollapseComponent
Date Tue, 17 Aug 2010 11:28:18 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899376#action_12899376
] 

Martijn van Groningen commented on SOLR-1682:
---------------------------------------------

bq. OK, so if I'm reading the patch correctly, it looks like the new group.sort you added
decouples the sort of the groups from the sort of the documents within each group? (and group.sort
specifies the sort of the docs within each group?)
Yes it decouples the sort of the groups from the sort of the documents within the group and
is specified via the group.sort parameter.

bq. What's the intended semantics of how to sort the groups?
What happens is that documents inside a group are sorted by the group.sort parameter and the
groups are sorted by the sort parameter.  The groups are sorted with the most relevant (first)
document of a group. So in your example the first group in the result is not the most popular,
but the most expensive popular group (the first document in the first group will be).

bq. Are groups sorted by the popularity of the first doc....
Groups are sorted by the first and most relevant document in a group. In your example the
document in a group with the highest price.

> Implement CollapseComponent
> ---------------------------
>
>                 Key: SOLR-1682
>                 URL: https://issues.apache.org/jira/browse/SOLR-1682
>             Project: Solr
>          Issue Type: Sub-task
>          Components: search
>            Reporter: Martijn van Groningen
>            Assignee: Shalin Shekhar Mangar
>             Fix For: Next
>
>         Attachments: field-collapsing.patch, SOLR-1682.patch, SOLR-1682.patch, SOLR-1682.patch,
SOLR-1682.patch, SOLR-1682_prototype.patch, SOLR-1682_prototype.patch, SOLR-1682_prototype.patch,
SOLR-236.patch
>
>
> Child issue of SOLR-236. This issue is dedicated to field collapsing in general and all
its code (CollapseComponent, DocumentCollapsers and CollapseCollectors). The main goal is
the finalize the request parameters and response format.

-- 
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