Class ESDeleter
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.searchengine.elasticsearch.ESDeleter
-
public class ESDeleter extends Object
The nuts and bolts of deleting documents from the Elasticsearch index.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByIds(Collection<String> ids)voiddeleteByQuery(String queryString)
-
-
-
Constructor Detail
-
ESDeleter
public ESDeleter(String baseUrl)
- Parameters:
baseUrl-
-
-
Method Detail
-
deleteByIds
public void deleteByIds(Collection<String> ids) throws SearchEngineException
- Throws:
SearchEngineException
-
deleteByQuery
public void deleteByQuery(String queryString) throws SearchEngineException
- Throws:
SearchEngineException
-
-