lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastin <sebasmt...@gmail.com>
Subject how to search the fields in SimpleAnalyzer
Date Tue, 19 Jun 2007 07:11:13 GMT

Hi All,
      i index my document using SimpleAnalyzer() when i search the Indexed
field in the searcher class it doesnt give me the results.help me to sort
out this issue.

My Code:

test="9840836598"
test1="bch01"

testRecords=(test+" "+test1);

document.add("testRecords",testRecords,Field.Store.NO,Field.Index.Tokenized)

indexwriter.addDcument(document,new SimpleAnalyzer());

please help me

Thanks in advance


-- 
View this message in context: http://www.nabble.com/how-to-search-the-fields-in-SimpleAnalyzer-tf3944677.html#a11189642
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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