Re: query formulation

2010-12-14 Thread Erick Erickson
e the query in lucene to use the > logical operation ? > In fact, I would like to force retrieval of documents which contain > obligatory a given keyword or do not contain an other one. I can do that by > a preprocessing (filter the documents which contain the keyword) but I would

query formulation

2010-12-14 Thread Hassan Saneifar
which contain the keyword) but I would like to that in the query formulation. Many thanks -- Hassan Saneifar, - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-u

Re: query formulation

2006-02-10 Thread Yonik Seeley
On 2/10/06, Rajesh Munavalli <[EMAIL PROTECTED]> wrote: > However I also want to retrieve those documents (in order) where one or more > of the terms is missing from either of the fields. i.e, BooleanQuery.setMinimumNumberShouldMatch() in the development version (1.9) of Lucene may help out in tha

query formulation

2006-02-10 Thread Rajesh Munavalli
Does anyone have a good way to formulate the query in terms of performance as well as ordering of retrieved documents for the following query? Query: "field1:t1 t2 t3 t4 AND field2:t5 t6 t7" I want to achieve the following * The document which matches the query exactly in both the fields gets ran