Re: StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread gaurav redkar
Thank you very much Chris. That helped a lot. Cheers. Regards, Gaurav On Tue, Mar 26, 2013 at 6:45 AM, Chris Hostetter wrote: > > : 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 l

Re: StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread Chris Hostetter
: 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.? if you download & build lucene from source, then

Re: StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread gaurav redkar
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 <

Re: StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread Arjen van der Meijden
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

StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread gaurav redkar
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