Вопрос

I have used solr to update one document successfully. But now I have a core which does not configure the unique key, so how can I update the document by query?

Это было полезно?

Решение

I don't think it's possible to update SolR document without having UniqueKey for your documents. You'll have to drop all documents from core and reload from scratch each time you want to update a document.

More info here: http://wiki.apache.org/solr/UniqueKey

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top