You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:15:18 UTC

[jira] [Commented] (SOLR-3960) Searching: PostFilter plugins ignored by solr cloud for queries with grouping

    [ https://issues.apache.org/jira/browse/SOLR-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610501#comment-13610501 ] 

Commit Tag Bot commented on SOLR-3960:
--------------------------------------

[branch_4x commit] Chris M. Hostetter
http://svn.apache.org/viewvc?view=revision&revision=1413983

SOLR-3960: Fixed a bug where Distributed Grouping ignored PostFilters (merge r1413975)

                
> Searching: PostFilter plugins ignored by solr cloud for queries with grouping
> -----------------------------------------------------------------------------
>
>                 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
>            Assignee: Hoss Man
>              Labels: patch
>             Fix For: 4.1, 5.0
>
>         Attachments: SOLR-3960.patch, SOLR-3960.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 org.apache.solr.search.Grouping.execute() method is called by the non cloud instance. This considers pf.PostFilter which is the collection of all PostFilters whereas org.apache.solr.search.grouping.CommandHandler.execute() 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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org