Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 544EFD679 for ; Thu, 18 Oct 2012 10:58:08 +0000 (UTC) Received: (qmail 60426 invoked by uid 500); 18 Oct 2012 10:58:06 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 59918 invoked by uid 500); 18 Oct 2012 10:58:05 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 58360 invoked by uid 99); 18 Oct 2012 10:58:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 10:58:04 +0000 Date: Thu, 18 Oct 2012 10:58:04 +0000 (UTC) From: "Nathan Visagan (JIRA)" To: dev@lucene.apache.org Message-ID: <448699145.63407.1350557884323.JavaMail.jiratomcat@arcas> In-Reply-To: <1888110805.58160.1350488404494.JavaMail.jiratomcat@arcas> Subject: [jira] [Comment Edited] (SOLR-3960) Searching: PostFilter plugins ignored by solr cloud for queries with grouping MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478903#comment-13478903 ] Nathan Visagan edited comment on SOLR-3960 at 10/18/12 10:57 AM: ----------------------------------------------------------------- Hoss, 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. Updated the title accordingly. was (Author: vnathan): 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. Updated the title accordingly. > 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 > 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 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