Hi,
       I want to replace the StopAnalyzer() with StandardAnalyzer() in line 68 of 
results.jsp, 

       Analyzer analyzer = new StopAnalyzer();         //construct our usual analyzer

       but it generates error:

"reference to ParseException is ambiguous, both class 
org.apache.lucene.queryParser.ParseException in org.apache.lucene.queryParser and 
class org.apache.lucene.analysis.standard.ParseException in 
org.apache.lucene.analysis.standard match"

This error arises because of the StandardTokeniser(reader) being called  by the 
StandardAnalyzer class.



 Can anyone tell how to resolve this error?

Regards,
Jitender

Reply via email to