lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3891) Documents loaded at search time (IndexReader.document) should be a different class from the index-time Document
Date Tue, 20 Mar 2012 14:41:45 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message