slhs.org>
From: Shawn Heisey
Sent: Tuesday, March 7, 2023 3:36 PM
To: users@solr.apache.org
Subject: Re: Delete silently failing.
On 3/7/23 12: 58, Matthew Castrigno wrote: > I am having trouble deleting a
document by id. > > curl --location --request POST 'x:
8983/solr
On 3/7/23 12:58, Matthew Castrigno wrote:
I am having trouble deleting a document by id.
curl --location --request POST 'x:8983/solr/talix/update?commit=true' \
--header 'Content-Type: application/json' \
--data-raw '{'\''delete'\'': ["1E089335-892C-41F6-B767-632EB5361775"]}'
When I send a
These should all be equivalent, but it doesn't hurt to test them all.
{“delete”: {“id”: "1E089335-892C-41F6-B767-632EB5361775”}}
{“delete”: "1E089335-892C-41F6-B767-632EB5361775”}
{“delete”: ["1E089335-892C-41F6-B767-632EB5361775”]}
Op di 7 mrt 2023 om 22:25 schreef Walter Underwood :
> Is it
Is it supposed to be:
{“delete”: {“id”: "1E089335-892C-41F6-B767-632EB5361775”}}
wunder
Walter Underwood
wun...@wunderwood.org
https://observer.wunderwood.org/ (my blog)
> On Mar 7, 2023, at 1:20 PM, Thomas Corthals wrote:
>
> Got blindsided by the quotes and didn't notice you already have com
Got blindsided by the quotes and didn't notice you already have commit=true
as a URL parameter. That should already cover my suggestion.
Op di 7 mrt 2023 om 22:06 schreef Thomas Corthals :
> Hi Matthew,
>
> There seems to be something strange going on with single quotes and
> backslashes around y
Hi Matthew,
There seems to be something strange going on with single quotes and
backslashes around your delete command. Best to use double quotes inside a
single quoted command argument when sending JSON like this.
Maybe you queried too soon, before the change was committed to the index?
You can
Hello community,
I am having trouble deleting a document by id.
curl --location --request POST 'x:8983/solr/talix/update?commit=true' \
--header 'Content-Type: application/json' \
--data-raw '{'\''delete'\'': ["1E089335-892C-41F6-B767-632EB5361775"]}'
responds with
{
"responseHeader": {