@@ -0,0 +1,599 @@
+package org.gbif.api.service.search;%0A%0Aimport org.gbif.api.model.registry.Dataset;%0Aimport org.gbif.api.model.registry.Installation;%0Aimport org.gbif.api.model.registry.Organization;%0A%0Apublic interface DatasetRealtimeIndexer %7B%0A%0A  /**%0A   * Creates or Updates asynchronously an existing dataset in Elasticsearch.%0A   */%0A  void index(Dataset dataset);%0A%0A  void index(Iterable%3CDataset%3E datasets);%0A%0A  void index(Organization organization);%0A%0A  void index(Installation installation);%0A%0A  /**%0A   * Deletes asynchronously a dataset from the Elasticsearch index if it exists.%0A   */%0A  void delete(Dataset dataset);%0A%7D%0A

Add DatasetRealtimeIndexer