How to update the solr index on demand?

I used solr to successfully update a single document. But now I have a kernel that does not configure a unique key, so how can I update a document on demand?

+4
source share
1 answer

I don’t think you can update a SolR document without having UniqueKey for your documents. You will have to drop all documents from the kernel and reload from scratch every time you want to update a document.

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

+1
source

Source: https://habr.com/ru/post/1500226/


All Articles