oops wrong thread in subject 

----- Original Message -----

From: "KRIS MUSSHORN" <mussho...@comcast.net> 
To: solr-user@lucene.apache.org 
Sent: Friday, December 23, 2016 1:02:09 PM 
Subject: Re: copying all fields to one specific single value field 

Well i guess its still not working.. 
I'm not getting an error but im not getting an update either... 

<field name="metatag.date.single" type="date" stored="true" indexed="true" /> 
<field name="date" type="tdate" stored="true" indexed="true" /> 

My BASH script: 
$UUID contains a valid, existing UUID in SOLR. 
$CURL_RESULT is a valid UTC timestamp 



curl -X POST -H 'Content-Type: application/json' 
'https://snip/solr/TEST_CORE/update/json/docs' --data-binary 
'{"uuid":"'$UUID'","metatag.date.single":{ "set":"'$CURL_RESULT'"}}' 

the previous curl is immediatley followed by... 

curl -s 'https://snip/solr/TEST_CORE/update?commit=true' 




Thank you all for your incredible patience. 

K 

Reply via email to