You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/10/01 00:41:12 UTC

DO NOT REPLY [Bug 30977] - "and" should be used in query syntax, not "AND"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30977>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30977

"and" should be used in query syntax, not "AND"





------- Additional Comments From fred.yu@xtra.co.nz  2004-09-30 22:41 -------
Thanks Daniel. I fixed the mistakes you mentioned, and my problem comes to 
this. If I used Field.Keyword to store "type:stockSingle", I can not find the 
document using query "type:stockSingle AND test"; If I use Field.Text to 
store "type:stockSingle", I can find the document!

The Lucene document says the Keyword is index, why can not I search it?

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org