[
https://issues.apache.org/jira/browse/SOLR-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765389#comment-13765389
]
Joel Bernstein edited comment on SOLR-5027 at 9/12/13 12:41 PM:
----------------------------------------------------------------
When the CollapsingQParserPlugin is used, the number of groups is simply
numFound. So you get ngroups automatically.
As for faceting. The initial release of this will only return post collapse
facet counts, which is often what people want.
This ticket though is part of a larger design that includes SOLR-5045, which is
designed to have facets and other aggregate functions calculated as PostFilter
"Aggregators". This would allow you to use the "cost" PostFilter parameter to
choose the order the PostFilter is applied. So in the same query you could have
some aggregates/facets calculated pre-collapse and some calculated post
collapse.
One of the central ideas of this design is to allow for pluggable collapse and
aggregating functions, through the PostFilter mechanism.
was (Author: joel.bernstein):
When the CollapsingQParserPlugin is used, the number of groups is simply
numFound. So you get ngroups automatically.
As for faceting. The initial release of this will only return post collapse
facet counts, which is often what people want.
This ticket though is part of a larger design that includes SOLR-5045, which is
designed to have facets and other aggregate functions calculated as PostFilter
"Aggregators". This would allow you to use the "cost" PostFilter parameter to
choose the order the PostFilter is applied. So in the same query you could have
some aggregates/facets calculated pre-collapse and some calculated post
collapse.
One of the central ideas of this design is allow for pluggable collapse and
aggregating functions, through the PostFilter mechanism.
> Result Set Collapse and Expand Plugins
> --------------------------------------
>
> Key: SOLR-5027
> URL: https://issues.apache.org/jira/browse/SOLR-5027
> Project: Solr
> Issue Type: New Feature
> Components: search
> Affects Versions: 5.0
> Reporter: Joel Bernstein
> Priority: Minor
> Attachments: SOLR-5027.patch, SOLR-5027.patch, SOLR-5027.patch
>
>
> This ticket introduces two new Solr plugins, the *CollapsingQParserPlugin*
> and the *ExpandComponent*.
> The *CollapsingQParserPlugin* is a PostFilter that performs field collapsing.
> This allows field collapsing to be done within the normal search flow.
> Initial syntax:
> fq=(!collapse field=<field_name>}
> All documents in a group will be collapsed to the highest ranking document in
> the group.
> The *ExpandComponent* is a search component that takes the collapsed docList
> and expands the groups for a single page based on parameters provided.
> Initial syntax:
> expand=true - Turns on the expand component.
> expand.field=<field> - Expands results for this field
> expand.limit=5 - Limits the documents for each expanded group.
> expand.sort=<sort spec> - The sort spec for the expanded documents. Default
> is score.
> expand.rows=500 - The max number of expanded results to bring back. Default
> is 500.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]