You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (Created) (JIRA)" <ji...@apache.org> on 2012/03/20 15:41:45 UTC

[jira] [Created] (LUCENE-3891) Documents loaded at search time (IndexReader.document) should be a different class from the index-time Document

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


[jira] [Updated] (LUCENE-3891) Documents loaded at search time (IndexReader.document) should be a different class from the index-time Document

Posted by "Michael McCandless (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-3891:
---------------------------------------

    Fix Version/s: 4.0
           Labels: gsoc2012 lucene-gsoc-12  (was: )
    
> 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
>              Labels: gsoc2012, lucene-gsoc-12
>             Fix For: 4.0
>
>
> 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


[jira] [Resolved] (LUCENE-3891) Documents loaded at search time (IndexReader.document) should be a different class from the index-time Document

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-3891.
----------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 4.1)
                   5.0

Fixed in LUCENE-3312.
                
> 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 - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>              Labels: gsoc2012, lucene-gsoc-12
>             Fix For: 5.0
>
>
> 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
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