我已经阅读了 solr wiki,我知道可以使用 deletedPkQuery 删除逻辑删除的文档,但是如何使用 DataImportHandler 删除物理删除的文档?
问问题
1022 次
1 回答
2
You can do it by optimizing the index. Send an optimize request to Solr as described here. But beware, that optimizing the index means re-writing the index. Unless you have substantial number of deleted documents in the index, the overhead of optimizing can be quite high.
于 2010-11-29T07:34:42.943 回答