lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arjen van der Meijden <acmmail...@tweakers.net>
Subject Re: StandardAnalyzer class not present in Lucene 4.2.0
Date Mon, 25 Mar 2013 07:52:03 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message