>
> >
> >
> > -Original message-----
> >> From:Emir Arnautović
> >> Sent: Wednesday 20th December 2017 14:49
> >> To: solr-user@lucene.apache.org
> >> Subject: Re: DocTransformer: Float cannot be cast to
> >> org.apache.lucene.d
code ran fine locally. There i got a StoredField and had to use
> numericValue() to get my float.
>
> Thanks,
> Markus
>
>
>
> -Original message-
>> From:Emir Arnautović
>> Sent: Wednesday 20th December 2017 14:49
>> To: solr-user@lucene.ap
; Sent: Wednesday 20th December 2017 14:49
> To: solr-user@lucene.apache.org
> Subject: Re: DocTransformer: Float cannot be cast to
> org.apache.lucene.document.StoredField
>
> Hi Markus,
> You are trying to cast to stored field without checking if that is actually
> StoredField. Wha
Hi Markus,
You are trying to cast to stored field without checking if that is actually
StoredField. What you can do is check first if StoredField or Float or… and
cast to appropriate value.
HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Su
Hello,
Recently i had to make yet another DocTransformer. It ran fine on my local
machine, this is what i get in production, on freshly reindexed data.
2017-12-20 12:12:58.987 ERROR (qtp329611835-17) [c:documents s:shard2
r:core_node1 x:documents_shard2_replica2] o.a.s.s.HttpSolrCall
null:java