: 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 exampleconfigs, and is now the implicit default in Solr 6) you can use the Schema API to make these changes. There is also a "SchemaRequest" convinience class for this if you are a SolrJ user... https://cwiki.apache.org/confluence/display/solr/Schema+API https://lucene.apache.org/solr/5_5_0/solr-solrj/org/apache/solr/client/solrj/request/schema/SchemaRequest.html SolrClient client = ...; SchemaRequest req = new SchemaRequest.ReplaceField(...); ... req.process(client) -Hoss http://www.lucidworks.com/