All,
I have defined a schema which uses a multi-valued field with type "pint"
and when I fetch the schema from Solr, it says the field type is "pints".
It seems if I create a field of type "pints" with "mutivalued":"false",
I still get a multi-valued field.
Is one an alias of the other? It it better to use one or the other? What
will Solr do if I change the definition of a pints/multi field to be
pint/multi? Will it recognize that they are equivalent, or will it
damage an existing index in any way? Or waste a bunch of time?
I'm writing an automated schema-update process, and it's telling me that
my desired schema doesn't match the actual schema because of this
difference. I'm wondering if I should take pints == multi-valued pint
into account or if I should allow the update to proceed.
Would it be save to say that for any field-type, making it plural just
means "this is a multi-valued field of type type-without-trailing-s"?
Thanks,
-chris
- Schema question: multi-valued field pint vs pints Christopher Schultz
-