How to make existing data indexed by newly created index

161 views Asked by At

I have created a new solr schema. I have created a new index from new schema. I have an existing bucket type where data exists. How will the existing data can be indexed with the new index created?

1

There are 1 answers

1
vempo On

If you have Active Anti-Entropy (AAE) enabled on your Riak cluster, existing entries will be eventually picked up by the index.

Keep in mind that it may take a long time (depending on the configuration) until your index has been fully repaired.

How to enable and tune AAE, select the right Riak version.

Alternatively, you can force a repair, or re-write the keys (read from a key and write the data back with the same key). Both depend very much on how many keys you have, and if you can tolerate the load it is going to create on your cluster.

UPDATE

There is a work in progress page in the Riak documentation repo that explains just that: Reindex Existing Data