Neeraj
Neeraj

Reputation: 9145

Updating Solr Index

I created solr index on my machine using

http://localhost:8983/solr/dataimport?command=full-import 

Now i have to update index on each add / edit/ delete on the table that i used for indexing.

Please advice the best way of updating solr index.

Upvotes: 1

Views: 3526

Answers (1)

fyr
fyr

Reputation: 20859

Solr provides incremental-updates named delta-updates via the DataImportHandler:

http://wiki.apache.org/solr/DataImportHandler#Using_delta-import_command

But this might not be the fastest way if your index has many small and frequent changes which need to be available fast.

Upvotes: 2

Related Questions