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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org