the main
field.
On Dec 27, 2007, at 4:19 PM, Frank Schima wrote:
So I have my fancy new stemmed synonym based Lucene index. Let's say
I have
the following synonym defined:
radiation - radiotherapy (and the reverse)
The search results rank all results exactly the same. Is there a way
Hi Erick,
Erick Erickson wrote:
I don't think this has anything to do with Lucene, the problem
seems to be that your compiler can't find the Java Stack
class.
You need to set your classpath to include wherever
java.utils is on your disk.
I agree it's a Java issue. I'm just using
I'm searching my index and if a user types multiple words (e.g. two words)
in the search field, I want both of the search terms to appear in the
resulting hits, but it appears to be doing an OR by default. How can I get
an AND by default instead?
Here's how i create my Search:
QueryParser qp =
Erick Erickson wrote:
QueryParser.setDefaultOperator(QueryParser.Operator.AND).
That works. Thanks!
--
View this message in context:
http://www.nabble.com/Search-with-AND-by-default-tf3909294.html#a11086380
Sent from the Lucene - Java Users mailing list archive at Nabble.com.