Re: Schemaless detecting multivalued fields

2017-10-19 Thread Erick Erickson
Also, if you _know_ certain fields should be defined you can define them explicitly and let schemaless figure out all the others. That said, eventually you're going to have to control your schema, schemaless is _not_ recommended for production systems unless you can absolutely guarantee the input

Re: Schemaless detecting multivalued fields

2017-10-19 Thread Emir Arnautović
Hi John, You should be able to do that with custom update request processor chain and https://lucene.apache.org/solr/6_6_0//solr-core/org/apache/solr/update/processor/AddSchemaFieldsUpdateProcessorFactory.html

Schemaless detecting multivalued fields

2017-10-18 Thread John Davis
Hi, I know about the schemaless configuration defaulting to multivalued fields of the corresponding type. I was just wondering if there was a way to first detect if the incoming value is list or singleton, and based on it pick the corresponding types. Ideally if the value is an long then use tlong