: the multi-value field has only one value for a document, the XML returned
: looks like this:
: <arr name="someIds">
: <long name="someIds">5693</long>
: </arr>
I think you are mistaken. it will either look like this...
<long name="someIds">5693</long>
...or it will look like this...
<arr name="someIds">
<long>5693</long>
</arr>
...depending on what the value of the "version" param is in your request,
but it won't redundently output "someIds"
version=2.0 ... no <arr> value is used if there is only one value
version=2.1 ... <arr> for all multivalue fields, even if only one value
version=2.2 ... responseHeader format changed to standard <lst> tag
: Is there a reason for this difference? Also, how does faceting work with
: multi-valued fields? It seems that I sometimes get facet results from
: multi-valued fields, and sometimes I don't.
i'm not sure i understand what exactly your question is ... you need to
give us more info to go on (ie: what the <field> and <fieldType> looks
like, what request params you are using, what you are getting back in
the response, a description of what you've indexed, etc...)
-Hoss