문제

I've read solr wiki and I know it is possible to use deletedPkQuery to remove the documents which deleted logically, but how to remove physically deleted documents with DataImportHandler?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top