Re: Multiterms query and payloads

2009-10-27 Thread Mauro Dragoni
Thanks for the advice... I watch in the documentation, but I saw that the PayloadTermQuery accept only one term a time... however, samething might be done with the PayloadNearQuery. On Mon, Oct 26, 2009 at 3:35 PM, Grant Ingersoll wrote: > In 2.9, there is now the PayloadNearQuery, which might h

Re: Multiterms query and payloads

2009-10-26 Thread Grant Ingersoll
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 ev

Multiterms query and payloads

2009-10-26 Thread Mauro Dragoni
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 mult