Document Index class that indexes an account

Change-Id: I0c745752df87d2d251fe979d2379a7bc27f73236
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2019-12-27 13:04:12 +01:00
committed by David Pursehouse
parent 13e7f25170
commit 67e016a3d6

View File

@@ -29,6 +29,14 @@ import com.google.inject.Provider;
import com.google.inject.Singleton;
import java.io.IOException;
/**
* REST endpoint to (re)index an account.
*
* <p>This REST endpoint handles {@code POST /accounts/<account-identifier>/index} requests.
*
* <p>If the document of an account in the account index is stale, this REST endpoint can be used to
* update the index.
*/
@Singleton
public class Index implements RestModifyView<AccountResource, Input> {