Rob Audenaerde created LUCENE-4685:
--------------------------------------

             Summary: IndexedField (is StringField) set to tokenized when 
getting the Document 
                 Key: LUCENE-4685
                 URL: https://issues.apache.org/jira/browse/LUCENE-4685
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/index
    Affects Versions: 4.0
            Reporter: Rob Audenaerde


I have added a Document with StringField to the index. When I search for it, I 
retrieve the Document from the searcher and iterate the IndexedFields. The 
field I have added is reported to be a 'tokenized' field. 

This should not be the case, as it is a StringField and these are not tokenized.

It is very unconvenient when updating a Document with an extra field. The 
original fields are all set to tokenized. 

I will add a TestCase that shows the unwanted behaviour


--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to