Affects Version/s: 3.4
Fix Version/s: 3.5
- if you create new Field("", ""), you get IllegalArgumentException from Field's ctor: "name and value cannot both be empty"
- But there are tons of other ways to index an empty term for the empty field (for example initially make it "garbage" then .setValue(""), or via tokenstream).
- If you do this, and you have assertions enabled, you will trip an assert (the assert is fixed in trunk, in
- But If you don't have assertions enabled, you will create a corrupt index: test: terms, freq, prox...ERROR [term : docFreq=1 != num docs seen 0 + num docs deleted 0]
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||3.5 [ 12317877 ]|
|Resolution||Fixed [ 1 ]|
Uwe Schindler made changes -
|Status||Resolved [ 5 ]||Closed [ 6 ]|