lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Multiterms query and payloads
Date Mon, 26 Oct 2009 14:35:11 GMT
In 2.9, there is now the PayloadNearQuery, which might help you.   
Otherwise, the PayloadTermQuery is still a Query and can be used in a  
BooleanQuery.  Beyond that, you may need to write what you need, since  
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.
>
> -- 
> Dott. Mauro Dragoni
> Ph.D. Student Università 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)  
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


Mime
View raw message