Re: deleting documents based on matching value of the field

2023-10-25 Thread Surya R
Hello Vince, we use something in this format to delete by "id", basically try changing the query to a pattern and test in your sandbox. We use leader/follower architecture. curl "http://solr-host:8983/solr/core/deletes?commit=true"; -H "Content-Type:text/xml" --data-binary 'id:12233' In case th

deleting documents based on matching value of the field

2023-10-25 Thread Vince McMahon
Hi, Could someone provide me a few examples on the syntax for delete a few documents based on matching (or actually partial matching) of a value of a a field. for example, delete all document is: *:* I have some of the documents that has a kv pairs liked: "my_field":"value1" "my_field":"value2"