You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/03/03 16:47:21 UTC
[jira] [Commented] (SOLR-5720) Add ExpandComponent to expand
results collapsed by the CollapsingQParserPlugin
[ https://issues.apache.org/jira/browse/SOLR-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918172#comment-13918172 ]
ASF subversion and git services commented on SOLR-5720:
-------------------------------------------------------
Commit 1573589 from [~joel.bernstein] in branch 'dev/trunk'
[ https://svn.apache.org/r1573589 ]
SOLR-5720: Add ExpandComponent to expand results collapsed by the CollapsingQParserPlugin
> Add ExpandComponent to expand results collapsed by the CollapsingQParserPlugin
> ------------------------------------------------------------------------------
>
> Key: SOLR-5720
> URL: https://issues.apache.org/jira/browse/SOLR-5720
> Project: Solr
> Issue Type: New Feature
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Priority: Minor
> Fix For: 4.8, 5.0
>
> Attachments: SOLR-5720.patch, SOLR-5720.patch, SOLR-5720.patch, SOLR-5720.patch, SOLR-5720.patch, SOLR-5720.patch, SOLR-5720.patch, SOLR-5720.patch, SOLR-5720.patch
>
>
> This ticket introduces a new search component called the ExpandComponent. The expand component expands a single page of results collapsed by the CollapsingQParserPlugin.
> Sample syntax:
> {code}
> q=*:*&fq={!collapse field=fieldA}&expand=true&expand.sort=fieldB+asc&expand.rows=10
> {code}
> In the above query the results are collapsed on "fieldA" with the CollapsingQParserPlugin. The expand component expands the current page of collapsed results.
> The initial implementation of the ExpandComponent takes three parameters:
> *expand=true* (Turns on the ExpandComponent)
> *expand.sort=fieldB+asc,fieldC+desc* (Sorts the documents based on a sort spec. If none is specified the documents are sorted by relevance based on the main query.)
> *expand.rows=10* (Sets the numbers of rows that groups are expanded to).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org