Hi Guarav,
There is a package 'lucene-analyzers-common-$version.jar' which contains
the analyzers. So you should add that to your project.
Best regards,
Arjen
On 25-3-2013 8:41, gaurav redkar wrote:
Hi all,
I am trying to write simple program to add documents to index. But am
unable to do so. The class StandardAnalyzer is not defined.
Analyzer analyzer = new StandardAnalyzer(Version.LUCENE_CURRENT);
Any suggestions as to how to fix it.?
Thanks,
Gaurav
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org