lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Visagan (JIRA)" <>
Subject [jira] [Commented] (SOLR-3960) Searching: PostFilter plugins ignored by solr cloud
Date Thu, 18 Oct 2012 10:56:04 GMT


Nathan Visagan commented on SOLR-3960:

You are correct. Its only happening with grouping and solr cloud options. For example if I
send a query like q=*:*&group=true&group.field=language&fq={!pf1}. 
Sorry. The confusion earlier happened because I had some default grouping enabled for all
the queries in the solrconfig select handler.
> Searching: PostFilter plugins ignored by solr cloud
> ---------------------------------------------------
>                 Key: SOLR-3960
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: search, SolrCloud
>    Affects Versions: 4.0-BETA
>         Environment: Linux / jre 1.6
>            Reporter: Nathan Visagan
>              Labels: patch
> When specifying the cloud options (-DzkRun -DnumShards=n) in solr startup parameters,
solr search does not consider any PostFilters.
> For example, I have implemented a PostFilter and wrapped that in my QParserPlugin sub
class. Then in the solr query I am using fq to apply post filtering by specifying fq={!pf1}
where pf1 is the name of my QParserPlugin. This all works well in solr and not in solr cloud.

> I debugged and figured out that method is called
by the non cloud instance. This considers pf.PostFilter which is the collection of all PostFilters
whereas which is called by the solr
cloud instance ignores the pf.PostFilter.

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message