lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gaurav redkar <gauravred...@gmail.com>
Subject Re: StandardAnalyzer class not present in Lucene 4.2.0
Date Mon, 25 Mar 2013 08:18:04 GMT
Thank you very much Arjen. I had to separately download and install the
jar.  it was not present in my lucene installation directory. I had
downloaded the lucene zip file and ran the command  "ant" after extracting
it. Did i miss anything.?

On Mon, Mar 25, 2013 at 1:22 PM, Arjen van der Meijden <
acmmailing@tweakers.net> wrote:

> 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<java-user-unsubscribe@lucene.apache.org>
> For additional commands, e-mail: java-user-help@lucene.apache.**org<java-user-help@lucene.apache.org>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message