On Mittwoch 31 Mai 2006 10:12, Simon Courtenage wrote:
> I'm new to Lucene but trying it out. I've successfully installed the
> luceneweb.war for the indexHTML
> web demo, but am getting an error when tomcat tries to compile the
> results.jsp part of the demo as it
> tries to answer a search query.
There's a bug in the code, as it refers to a deprecated method that has
been removed. You need to use this code instead:
QueryParser qp = new QueryParser("contents", analyzer);
query = qp.parse(queryString);
Regards
Daniel
--
http://www.danielnaber.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]