lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Diviacco <patrick.divia...@gmail.com>
Subject Lucene 4.0 and WhitespaceAnalyzer
Date Fri, 04 Mar 2011 14:21:07 GMT
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

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