There was a sneaky bug, only in trunk (to be 4.0):

    https://issues.apache.org/jira/browse/LUCENE-3575

... that causes field names to sometimes be silently wrong, for stored
fields and term vectors, if you use addIndexes or you carried over a
3.x index.  For example, you retrieve a stored doc that you know has
field "title" but then you see the wrong field name ("foobar") yet the
value is correct.  Same for term vectors...

The bug has been there since late March 2011, so any index created
after that should be fully rebuilt.

Mike McCandless

http://blog.mikemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to