lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh parab <>
Subject Double Quotes and TermQuery
Date Tue, 13 Feb 2007 18:47:59 GMT
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

Any help/pointers will be much appreciated.


Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message