Hello,

I'm not sure how to minimize the impact of performing a re-index (or new
index creation), that will take 48 hours (using oak 1.4). I mean, I don't
want to block other indexes update.

First, we have set the value of async as *fulltext-async* for the new
index. I guess, that at least, all the indexes managed by the *async* lane
<http://jackrabbit.apache.org/oak/docs/query/indexing.html#indexing-lane>
will not be affected (please, confirm if I'm right). Then we try to
minimize the impact on the fulltext-async lane. According to OAK-5553
<https://issues.apache.org/jira/browse/OAK-5553> there isn't much we can do
while the indexing process is active for the new index, as the rest of
indexes won't be updated. On the other hand, it seems that using the
*reindex-async* flag (see OAK-1456
<https://issues.apache.org/jira/browse/OAK-1456>) could do the trick. I
mean, setting reindex-async=true to the new index will allow other indexes
(in the same lane) being updated while it is being populated? If that is
true, we could create the index with that flag and then remove it.

Regards.

Reply via email to