I forgot to include the fields created through the API: <field name="assign_id" type="text_general" uninvertible="true" indexed="true" stored="true"/> <field name="client_group" type="text_general" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> <field name="credit_class" type="text_general" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> <field name="credit_hold" type="boolean" uninvertible="true" indexed="true" stored="true"/> <field name="credit_hold_date" type="pdate" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> <field name="credit_limit" type="pfloat" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> <field name="credit_terms" type="text_general" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> <field name="currency" type="text_general" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> <field name="data_signature" type="string" uninvertible="false" indexed="false" stored="false"/> <field name="debtor_id" type="text_general" multiValued="false" indexed="true" required="true" stored="true"/> <field name="dl1" type="text_general" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> <field name="dl2" type="text_general" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> <field name="do_not_call" type="boolean" uninvertible="true" indexed="true" stored="true"/> <field name="do_not_call_date" type="pdate" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/>
Thanks, Rhys On Mon, Oct 28, 2019 at 11:30 AM rhys J <rhyssha...@gmail.com> wrote: > > >> Did you reload the core/collection or restart Solr so the new schema >> would take effect? If it's SolrCloud, did you upload the changes to >> zookeeper and then reload the collection? SolrCloud does not use config >> files on disk. >> > > So I have not done this part yet, but I noticed some things in the > managed-schema. > > the first was this (I did verify that the version of the schema is > up-to-date. I am doing an out of the box install of the latest Solr release. > > I checked all the fields that I created (I will paste them below), and > they are NOT multi-valued. However, text_general is set to multi-valued as > a default? > > <fieldType name="text_general" class="solr.TextField" > positionIncrementGap="100" multiValued="true"> > <analyzer type="index"> > <tokenizer class="solr.StandardTokenizerFactory"/> > <filter class="solr.StopFilterFactory" words="stopwords.txt" > ignoreCase="true"/> > <filter class="solr.LowerCaseFilterFactory"/> > </analyzer> > <analyzer type="query"> > <tokenizer class="solr.StandardTokenizerFactory"/> > <filter class="solr.StopFilterFactory" words="stopwords.txt" > ignoreCase="true"/> > <filter class="solr.SynonymGraphFilterFactory" expand="true" > ignoreCase="true" synonyms="synonyms.txt"/> > <filter class="solr.LowerCaseFilterFactory"/> > </analyzer> > </fieldType> > > Here are some of the fields I created through the API. When I created > them, I did NOT check the multi-valued box at all. However, when I then go > to look at the field through the API, it is marked Multi-valued. I am > assuming this is because of the fieldType definition above? Why is this set > to default to Multi-valued? > > Will I break Solr if i change this to default to not multi-valued? > > Thanks, > > Rhys >