You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Omar Didi <od...@Cyveillance.com> on 2005/03/30 23:41:59 UTC

error when query contains numbers

hi guys,

I am using a QueryParser to search the index. when the query has numbers, i don t get any results?? 
any suggestions??



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


Re: error when query contains numbers

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Mar 30, 2005, at 4:41 PM, Omar Didi wrote:
> I am using a QueryParser to search the index. when the query has 
> numbers, i don t get any results??
> any suggestions??

What is the .toString of the Query object instance returned from 
QueryParser?  What Analyzer are you using?  How did you index the 
field(s) being queried?

	Erik


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