Hi Everyone,

I understand that QueryParser allows searches using
double quote characters.

I was wondering if the double quote will also work
with TermQuery.

I am not using QueryParser in my application and
constructing queries (TermQuery, RangeQuery,
BooleanQuery, etc.) explicitly. But, it looks like
double quotes are not working with TermQuery.

For example:
query = new TermQuery(new Term("location", "\"san
mateo\""))

Any help/pointers will be much appreciated.

Regards,
Rajesh


 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to