Documents loaded at search time (IndexReader.document) should be a different
class from the index-time Document
---------------------------------------------------------------------------------------------------------------
Key: LUCENE-3891
URL: https://issues.apache.org/jira/browse/LUCENE-3891
Project: Lucene - Java
Issue Type: Improvement
Reporter: Michael McCandless
The fact that the Document you can load at search time is the same Document
class you had indexed is horribly trappy in Lucene, because, the loaded
document necessarily loses information like field boost, whether a field was
tokenized, etc. (See LUCENE-3854 for a recent example).
We should fix this, statically, so that it's an entirely different class at
search time vs index time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]