[ 
https://issues.apache.org/jira/browse/SOLR-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5027:
---------------------------------

    Description: 
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 ExpandComponed 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.






  was:
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.





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

Reply via email to