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