-
Notifications
You must be signed in to change notification settings - Fork 4
Add re-indexing option to the Admin API #150
Comments
@westei will you be able to integrate this into 0.6.1? This release will make a re-index necessary, so having it there would be beneficial |
I can add an Webservice that allows to trigger re-indexing. For an UI integration I would need the help of @ja-fra |
@mrsimpson Noticed that adding a re-indexing option to the Admin API does not do the trick, as in a Cloud setting the Solr Indexes are only local, but the Admin UI is global. So by calling this function one would only trigger re-indexing on the local Solr index. All other cloud instances would not perform the re-indexing. To provide this functionality we would require some kind of notification system - an infrastructure we currently do not have in place. IMHO it is better to provide a possibility to detect an update during application startup and perform a full re-index in such cases. WDYT? |
…rsation admin service `POST /admin/conversation/index` (requires the user to have ADMIN permissions). NOTE the comments on the issue regarding using this method in cloud setups with embedded Solr Servers.
…lows to query on startup if all documents in the index where indexed with the current version. If not a full re-build of the index is triggered. If not a partial update (via the last_sync field) is enabled. Changed the default for the `smarti.index.rebuildOnStartup` property to `false` as with the new functionality this is no longer required under normal operational circumstances.
Implemented a feature to the conversation index that allows to detect updates to the index. After incompatible changes to the A change of this version will trigger a full re-build of the conversation index on the next startup. This replaces an older workaround that (by default) enforced a full rebuild on every startup (now the default is |
for validation one can look for INFO level loggings on startup:
|
As software updates and connecting to a different Mongo DB require a full re-index an Admin needs the possibility to trigger a re-index via the Admin API
The text was updated successfully, but these errors were encountered: