Re: How to set multivalued false, using SolrJ

2016-04-11 Thread Chris Hostetter
: Can you do me a favour, I use solrJ to index, but I get all the : Field is multivalued. How can I set my Field to not : multivalued, can you tell me how to setting use solrJ. If you are using a "Managed Schema" (which was explicitly configured in most Solr 5.x exam

Re: How to set multivalued false, using SolrJ

2016-04-11 Thread Shawn Heisey
On 4/11/2016 7:40 AM, Charles Sanders wrote: > Multivalued fields are controlled by the schema. You need to define your > field in the schema file as 'not' a multivalue field. Here are a couple of > examples of field definitions, one multivalued, the other not. > > multiValued="true"/> > />

Re: How to set multivalued false, using SolrJ

2016-04-11 Thread Charles Sanders
Hello, Multivalued fields are controlled by the schema. You need to define your field in the schema file as 'not' a multivalue field. Here are a couple of examples of field definitions, one multivalued, the other not. If you do not explicitly define your field, then solr will use default