Thanks for your reply,
but it only works when i got no response. But as i said im working on
arrays. As soon as i get an array it doesnt matter if array's length is 1 or
105 it returns what i get earlier.
---- #1 ---- json response
"detailComment",
[
"100.01",
null,
"102.01",
null
]
return as
---- #1 ---- indexed
"detailComment": [
"100.01",
"102.01"
]
---- #2 ---- json response
"detailComment",
[
null
]
return as
---- #2 ---- indexed
"detailComment": [
"0.0"
]
Result i want to see
---- #3 ---- json response
"detailComment",
[
"100.01",
null,
"102.01",
null
]
return as
---- #3 ---- indexed
"detailComment": [
"100.01",
"0.0",
"102.01",
"0.0"
]
<updateProcessor class="solr.DefaultValueUpdateProcessorFactory"
name="upd">
<str name="fieldName">detailComment</str>
<float name="value">0.0</float>
</updateProcessor>
<requestHandler name="/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">dih-config.xml</str>
<str name="processor">upd</str>
</lst>
</requestHandler>
--
View this message in context:
http://lucene.472066.n3.nabble.com/xml-indexing-tp4344191p4344298.html
Sent from the Solr - User mailing list archive at Nabble.com.