Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.5
-
None
-
All
-
New
Description
When using MemoryIndex.addField the following operation throws an IllegalArgumentException:
index.addField("foobar", "value1", LuceneAnalyzer);
index.addField("foobar", "value2", LuceneAnalyzer);
This throws:
java.lang.IllegalArgumentException: field must not be added more than once
According to Uwe Schindler on the java-user mailing list this violates the IndexWriter/IndexReader contract.
Attachments
Issue Links
- is part of
-
LUCENE-4515 Make MemoryIndex more memory efficient
- Closed