lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guilherme Barile <...@prosoma.com.br>
Subject Simple searching ?
Date Tue, 03 Jun 2003 15:19:27 GMT
Hi
	I'm still getting started with lucene, and I can't search my index (It
exists). I also couldn't find any docs regarding searching, so, if you
could tell me at least this bit is right :

searcher = new IndexSearcher(IndexReader.open(this.indexDir));
hits = searcher.search(QueryParser.parse(query, "content", analyzer));

Do I need anything else ? (The variables and objects are declared, query
is a string)

thanks in advance

gui


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


Mime
View raw message