lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nihed mbarek (JIRA)" <>
Subject [jira] [Created] (SOLR-4126) Partial Update retrieve int/float value error
Date Thu, 29 Nov 2012 17:14:58 GMT
nihed mbarek created SOLR-4126:

             Summary: Partial Update retrieve int/float value error
                 Key: SOLR-4126
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.0
         Environment: Solr 4.0 
            Reporter: nihed mbarek


I have a document that I update using the recommendation of this link

as XML/JSON, the result is ok 
<int name="a">109</int>
<float name="b">4.368</float>
<int name="c">5318311</int>

but in my request handler : 

final Document doc = req.getSearcher().doc(x);
final List<IndexableField> fields = doc.getFields();
            for (IndexableField indexableField : fields) {
                System.out.println(" "+indexableField.stringValue());

the result is totally out of range : 
a €m
b Àࢼڨ
c €Ԓڧ

the kind of result is only visible for field with type different than string

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message