How to delete SOLR indexed data by query with curl?

前端 未结 3 2191
忘了有多久
忘了有多久 2020-12-15 06:09

I have a SOLR schema.xml like this:



        
3条回答
  •  感动是毒
    2020-12-15 06:37

    In this way would be easier: curl "http://46.231.77.98:7979/solr/collection/update/?commit=true&stream.body=(cartype:stationwagon)AND(color:blue)"

    It's a simple GET request and you have just to add the parameter
    stream.body=(cartype:stationwagon)AND(color:blue) to the query string.

提交回复
热议问题