Tania Marinova
Tania Marinova

Reputation: 1908

Is there any way to index only new data in solr from java application

I've got postgresql database which i have indexed in solr and everything is OK. I've made java application which can add a new row in the database. So my question is is there any way I can index ONLY this new row from my java application in solr.

Upvotes: 0

Views: 131

Answers (1)

Jayendra
Jayendra

Reputation: 52809

If you are using DIH you can use Incremental Indexing to index just the changed data in Solr.

If you are using standalone java code, you can use Solrj libraries to interact with Solr to index individual Documents.

Upvotes: 2

Related Questions