[
https://issues.apache.org/jira/browse/SOLR-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508811#comment-13508811
]
nihed mbarek commented on SOLR-4126:
------------------------------------
The problem is limited to SortableIntField and SortableFloatField. With
TrieIntField and TrieFloatField, there is no problem but we must re-index our
documents
> Partial Update retrieve int/float value error
> ---------------------------------------------
>
> Key: SOLR-4126
> URL: https://issues.apache.org/jira/browse/SOLR-4126
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Solr 4.0
> Reporter: nihed mbarek
>
> Dear,
> I have a document that I update using the recommendation of this link
> http://solr.pl/en/2012/07/09/solr-4-0-partial-documents-update/
> 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.name()+"
> "+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: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]