lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emir Arnautović <emir.arnauto...@sematext.com>
Subject Re: Schemaless detecting multivalued fields
Date Thu, 19 Oct 2017 09:00:12 GMT
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
<https://lucene.apache.org/solr/6_6_0//solr-core/org/apache/solr/update/processor/AddSchemaFieldsUpdateProcessorFactory.html>

HTH,
Emir 
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 19 Oct 2017, at 08:00, John Davis <johndavis925254@gmail.com> wrote:
> 
> 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 while if it is list of longs
> then use tlongS.
> 
> Thanks!
> John


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message