Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 59854 invoked from network); 26 Oct 2009 14:35:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Oct 2009 14:35:45 -0000 Received: (qmail 7293 invoked by uid 500); 26 Oct 2009 14:35:43 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 7235 invoked by uid 500); 26 Oct 2009 14:35:43 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 7225 invoked by uid 99); 26 Oct 2009 14:35:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 14:35:43 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [208.97.132.119] (HELO homiemail-a21.g.dreamhost.com) (208.97.132.119) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 14:35:33 +0000 Received: from [10.0.0.77] (adsl-065-013-152-164.sip.rdu.bellsouth.net [65.13.152.164]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPA id E8E2C300059 for ; Mon, 26 Oct 2009 07:35:11 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Multiterms query and payloads From: Grant Ingersoll In-Reply-To: <20d4cf890910260725v6cdc0179g6c905d65348b8381@mail.gmail.com> Date: Mon, 26 Oct 2009 10:35:11 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20d4cf890910260725v6cdc0179g6c905d65348b8381@mail.gmail.com> To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org In 2.9, there is now the PayloadNearQuery, which might help you. =20 Otherwise, the PayloadTermQuery is still a Query and can be used in a =20= BooleanQuery. Beyond that, you may need to write what you need, since =20= it doesn't exist yet. On Oct 26, 2009, at 10:25 AM, Mauro Dragoni wrote: > Hi to everyone, > I started to use payloads in my indexes. > However, I didn't find a class that permits to perform queries using > more than one term. > The only way that works is to use the BoostingTermQuery class, but by > using this class, I can search only one term a time. > > Does exist a way to do a multiterms search or I have to implement a > workaround that aggregates the results of single term searches? > Any other suggestions are accepted. > > Thanks to everyone. > > --=20 > Dott. Mauro Dragoni > Ph.D. Student Universit=E0 di Milano, Italy > > My Business Site: http://www.dragotechpro.com > My Research Site: http://www.genalgo.com > > > Confidentially Notice. This electronic mail transmission may contain > legally privileged and/or confidential information. Do not read this, > if you are not the person named to. > Any use, distribution, copying or disclosure by any other person is > strictly prohibited. > If you received this transmission in error, please notify the sender > and delete the original transmission and its attachments without > reading or saving it in any manner. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) =20 using Solr/Lucene: http://www.lucidimagination.com/search --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org