AW: IndexWriter#updateDocument(Term, Document)

2014-06-19 Thread Clemens Wyss DEV
+1 And there was another issue in my indexing framework. I have the LowercaseFilter in use, so the Term only matched if the value was all lowercased ... Thx Clemens -Ursprüngliche Nachricht- Von: Michael McCandless [mailto:luc...@mikemccandless.com] Gesendet: Donnerstag, 19. Juni 2014 1

AW: IndexWriter#updateDocument(Term, Document)

2014-06-19 Thread Clemens Wyss DEV
directory = new SimpleFSDirectory( indexLocation ); IndexWriterConfig config = new IndexWriterConfig(Version.LUCENE_47, new WhitespaceAnalyzer( Version.LUCENE_47 )); indexWriter = new IndexWriter( directory, config ); Document doc = new Document(); String value = "hello"; String key = "test"; doc.