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

Joel Bernstein updated SOLR-5720:
---------------------------------

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

q=*:*&fq={!collapse 
field=fieldA}&expand=true&expand.sort=fieldB+asc&expand.rows=10

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

The ExpandComponent


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

q=*:*&fq={!collapse 
field=fieldA}&expand=true&expand.sort=fieldB+asc&expand.rows=10

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:

*strong*expand=true*strong* (Turns on the ExpandComponent)
*strong*expand.sort=fieldB+asc,fieldC+desc*strong* (Sorts the documents based 
on a sort spec. If none is specified the documents are sorted by relevance 
based on the main query.)
*strong*expand.rows=10*strong* (Sets the numbers of rows that groups are 
expanded to).

The ExpandComponent



> Add ExpandComponent, which expands results collapsed by the 
> CollapsingQParserPlugin
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-5720
>                 URL: https://issues.apache.org/jira/browse/SOLR-5720
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 5.0, 4.7
>            Reporter: Joel Bernstein
>            Priority: Minor
>
> 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:
> q=*:*&fq={!collapse 
> field=fieldA}&expand=true&expand.sort=fieldB+asc&expand.rows=10
> 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).
> The ExpandComponent



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to