On 4/28/2015 3:58 AM, balmydrizzle wrote:
> Just happen to have same issue as this question posted on stackoverflow site:
> Why Solr default Multivalued to true? - Stack Overflow
> http://stackoverflow.com/questions/21933032/why-solr-default-multivalued-to-true

It has been my experience that if I don't put 'multivalued="true"' into
the schema, then the field is NOT multivalued.

If the "version" parameter on your schema is 1.0, then all fields are
inherently multi-valued, because the first schema version did not have
the multi-valued concept.  The most recent schema version is 1.5.

https://wiki.apache.org/solr/SchemaXml#Schema_version_attribute_in_the_root_node

If you do not specify the version in your schema.xml file, it defaults
to 1.0, which does mean that all fields will be multivalued.

Thanks,
Shawn

Reply via email to