Sorry, I had some issues with the mailing list and I didn't explain
properly. The reason is that I'm using the nightly built of Lucene (trunk)
and such WhitespaceAnalyzer is not there. Also, if I download the commons
analyzers library it is not there.

thanks

On 9 March 2011 03:07, Simon Willnauer <simon.willna...@googlemail.com>wrote:

> Why do you want to replace the WhitespaceAnalyzer? I don't really
> understand what you are up to.
>
> simon
>
> On Fri, Mar 4, 2011 at 3:21 PM, Patrick Diviacco
> <patrick.divia...@gmail.com> wrote:
> > What's the best way to replace WhitespaceAnalyzer in this line in Lucene
> > nightly build 4.0 ? Is there a generic analyzer I can use ?
> >
> > writer = new IndexWriter(FSDirectory.open(INDEX_DIR), new
> > WhitespaceAnalyzer(), true, IndexWriter.MaxFieldLength.LIMITED);
> >
> > thanks
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to