lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-5829) Add tag/exclude functionality to the ExpandComponent
Date Fri, 07 Mar 2014 16:16:47 GMT

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

Joel Bernstein updated SOLR-5829:
---------------------------------

    Description: 
Adding tag/exclude functionality to the ExpandComponent would allow it to operate independently
of the CollapsingQParserPlugin. For example:

{code}
q=*:*&fq={!tag=parent}type=parent&expand=true&expand.field=group_id&expand.exclude=parent
{code}
The query above searches all documents limiting the results to type=parent. So the main result
would contain only parent documents.

The expand component then excludes the type=parent filter and expands the groups based on
the group_id field. 

Using this approach the main search result will contain only documents with type=parent and
the expanded results will display the child documents for the group.

 

  was:
Adding tag/exclude functionality to the ExpandComponent would allow it to operate independently
of the CollapsingQParserPlugin. For example:

q=*:*&fq={!tag=parent}type=parent&expand=true&expand.field=group_id&expand.exclude=parent

The query above searches all documents limiting the results to type=parent. So the main result
would contain only parent documents.

The expand component then excludes the type=parent filter and expands the groups based on
the group_id field. 

Using this approach the main search result will contain only documents with type=parent and
the expanded results will display the child documents for the group.

 


> Add tag/exclude functionality to the ExpandComponent
> ----------------------------------------------------
>
>                 Key: SOLR-5829
>                 URL: https://issues.apache.org/jira/browse/SOLR-5829
>             Project: Solr
>          Issue Type: New Feature
>          Components: SearchComponents - other
>            Reporter: Joel Bernstein
>             Fix For: 4.8
>
>
> Adding tag/exclude functionality to the ExpandComponent would allow it to operate independently
of the CollapsingQParserPlugin. For example:
> {code}
> q=*:*&fq={!tag=parent}type=parent&expand=true&expand.field=group_id&expand.exclude=parent
> {code}
> The query above searches all documents limiting the results to type=parent. So the main
result would contain only parent documents.
> The expand component then excludes the type=parent filter and expands the groups based
on the group_id field. 
> Using this approach the main search result will contain only documents with type=parent
and the expanded results will display the child documents for the group.
>  



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


Mime
View raw message