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
se default definitions, which are probably storing the field as multivalued. Charles - Original Message - From: "巩学超" To: solr-user@lucene.apache.org Sent: Monday, April 11, 2016 7:58:35 AM Subject: How to set multivalued false, using SolrJ Hello, Can you do me a

How to set multivalued false, using SolrJ

2016-04-11 Thread 巩学超
Hello, 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.