lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: update operation
Date Fri, 23 Dec 2016 18:22:37 GMT
OK, next thing. Find your Solr log and tail -f on it while you send
you doc. That answers what Solr actually sees .vs. what you think
you're sending it ;). If anything.....

Best,
Erick

On Fri, Dec 23, 2016 at 10:15 AM, KRIS MUSSHORN <musshorns@comcast.net> wrote:
> oops wrong thread in subject
>
> ----- Original Message -----
>
> From: "KRIS MUSSHORN" <musshorns@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

Mime
View raw message