Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA4AD10182 for ; Mon, 17 Jun 2013 16:36:50 +0000 (UTC) Received: (qmail 68855 invoked by uid 500); 17 Jun 2013 16:36:47 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 68569 invoked by uid 500); 17 Jun 2013 16:36:47 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 68560 invoked by uid 99); 17 Jun 2013 16:36:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 16:36:46 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=NORMAL_HTTP_TO_IP,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of ivkustov@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 16:36:40 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UocPP-0007AN-T7 for solr-user@lucene.apache.org; Mon, 17 Jun 2013 09:35:59 -0700 Date: Mon, 17 Jun 2013 09:35:59 -0700 (PDT) From: Igor Kustov To: solr-user@lucene.apache.org Message-ID: <1371486959888-4071049.post@n3.nabble.com> In-Reply-To: <1371336592891-4070747.post@n3.nabble.com> References: <1371336592891-4070747.post@n3.nabble.com> Subject: Re: Solr large boolean filter MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Menawhile I'm currently trying to write custom QParser which will use FieldCacheTermsFilter So I'm using query like http://127.0.0.1:8080/solr/select?q=*:*&fq={!mqparser}id:%281%202%203%29 And I couldn't make it work - I just couldn't find a proper constructor and also not sure that i'm filtering appropriately. private class MyQParser { List idsList; MyQParser(String queryString, SolrParams localParams, SolrParams solrParams, SolrQueryRequestsolrQueryRequest) throws SyntaxError { super(queryString,localParams,solrParams, solrQueryRequest); idsList = // extract ids from params } @Override public Query parse() throws SyntaxError { FieldCacheTerms filter = new FieldCacheTermsFilter("id",idsList.toArray()) // first problem id is just an int in my case, but this seems like the only normal constructor return new FilteredQuery(new BooleanQuery(), filter); // my goal here is to get only filtered data, but does BooleanQuery() equals to *:*? } -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-large-boolean-filter-tp4070747p4071049.html Sent from the Solr - User mailing list archive at Nabble.com.