Filing this ticket on behalf of a stackoverflow user. While examing the shards in my repository, I see similar effects.
Background: I executed sharding by year in my statistics solr core, using a dspace command:
[dspace]/bin/dspace stats-util -s
After that, there are several cores, divided by year: statistics, statistics-2015, statistics-2014, and so on.
However, multivalued fields are incorrect now, they seem to be a string:
When we try to query, for example, owningComm:1 no results are given.
The correct behaviour, before sharding, was as an "array" of integers:
The field in schema.xml of Solr 4 is:
<field name="owningComm" type="integer" indexed="true" stored="true" required="false" multiValued="true" />
I already tried to tokenize the string with commas, but without success.
Is there any way to update this field to integers again? Removing the quotes or something like that?
We have millions docs stored.
Thanks in advance.