Hi,I am searching for a solution to delete project changes from index without calling Gerrit API for each change. Currently I am using a plugin that should send a POST request to https://localhost/a/changes/CHANGE_ID/index for each change, but this is a very slow process if we have more changes in a project (I've found this solution here: https://groups.google.com/forum/?hl=en#!searchin/repo-discuss/plugin$20reindex|sort:relevance/repo-discuss/hdBTxTp_nRU/_DnnycFjAAAJ )... Is there any way to do the same thing directly from the plugin?
--Thank's
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Mon, Aug 8, 2016 at 3:59 PM, WekTorALL <wekt...@gmail.com> wrote:Hi,I am searching for a solution to delete project changes from index without calling Gerrit API for each change. Currently I am using a plugin that should send a POST request to https://localhost/a/changes/CHANGE_ID/index for each change, but this is a very slow process if we have more changes in a project (I've found this solution here: https://groups.google.com/forum/?hl=en#!searchin/repo-discuss/plugin$20reindex|sort:relevance/repo-discuss/hdBTxTp_nRU/_DnnycFjAAAJ )... Is there any way to do the same thing directly from the plugin?On server-side your plugin can get com.google.gerrit.server.index.change.ChangeIndexer injected and use it to index changes.
--Thank's
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.