artaxerxe
artaxerxe

Reputation: 6421

Cannot delete data in solr 4.8.0

I'm trying to delete a file from solr 4.8.0 using this query in my browser:

httpProtocolHere://my.ip.v4.address:portNumber/solr/my_database/delete?q=field1%3Avalue1+AND+field2%3Avalue2+AND+field3%3Avalue3&wt=json&indent=true

When executing this query, only loading image is on the screen. And no log related to delete present in log files.

Any suggestions?

N.B. I'm newbie to solr.

Upvotes: 0

Views: 86

Answers (1)

arun
arun

Reputation: 11023

Try this:

HOST:PORT/solr/CORE/update?stream.body=<delete><query>field1:value1 AND field2:value2 AND field3:value3</query></delete>&commit=true

Upvotes: 1

Related Questions