lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh" <emailg...@yahoo.co.in>
Subject Keyword Analyzer
Date Fri, 18 Feb 2011 10:38:48 GMT
Hello all,
 
I am using Keyword analyzer to index a field and while using queryparser, I am using the same
analyzer.  I am indexing the text Hello world and while searching using queryparser.parse
it is not returning me any results. I need to use the text within the codes qp.parse("Hello
world");   

My question is why i need to give the text within codes (basically as a phrase). While indexing
i have not given and it is indexing as single term and while searching also it should consider
the complete text as single term.

Regards
Ganesh
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php

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


Mime
View raw message