13 feb 2007 kl. 19.47 skrev Rajesh parab:

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.

Is it perhaps PhraseQuery or SpanNearQuery you are looking for?

--
karl

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

Reply via email to