solr delete query

Solr1.4 Both delete by id and delete by query can be specified at the same time.

Example:

<delete>
  <id>05991</id><id>06000</id>
  <query>office:Bridgewater</query>
  <query>office:Osaka</query>
</delete>

http://wiki.apache.org/solr/UpdateXmlMessages#A.22delete.22_by_ID_and_by_Query


原文地址:https://www.cnblogs.com/lexus/p/1803412.html