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

Nathan Visagan updated SOLR-3960:
---------------------------------

    Description: 
When specifying the cloud options (-DzkRun -DnumShards=n) solr query does not 
consider the PostFilter.
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. 
When I debugged and figured out that org.apache.solr.search.Grouping.execute() 
method is called by the non cloud instance. This considers pf.PostFilter 
whereas org.apache.solr.search.grouping.CommandHandler.execute() which is 
called by the solr cloud instance ignores the pf.PostFilter. pf is an instance 
of SolrIndexSearcher.ProcessedFilter. 

  was:
When specifying the cloud options (-DzkRun -DnumShards=n) solr query does not 
consider the PostFilter.
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. 
When I debugged and figured out that org.apache.solr.search.Grouping.execute() 
method is called by the non cloud instance. This considers pf.PostFilter 
whereas org.apache.solr.search.grouping.CommandHandler.execute() which is 
called by the solr cloud instance ignores the pf.PostFilter. [pf is an instance 
of SolrIndexSearcher.ProcessedFilter]. 

    
> Searching: PostFilter plugins ignored by solr cloud
> ---------------------------------------------------
>
>                 Key: SOLR-3960
>                 URL: https://issues.apache.org/jira/browse/SOLR-3960
>             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) solr query does not 
> consider the PostFilter.
> 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. 
> When I debugged and figured out that 
> org.apache.solr.search.Grouping.execute() method is called by the non cloud 
> instance. This considers pf.PostFilter whereas 
> org.apache.solr.search.grouping.CommandHandler.execute() which is called by 
> the solr cloud instance ignores the pf.PostFilter. pf is an instance of 
> SolrIndexSearcher.ProcessedFilter. 

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