X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fsa%2Fsearchdbabstraction%2Felasticsearch%2Fdao%2FDocumentStoreInterface.java;h=a9d5678b634809f2efec131670f5975aff14a31c;hb=ce701746049abfd94a87b46e43f296faf32d6213;hp=b0ee35cb26dd28fc51d2eb5a7b54d956b13797cc;hpb=d6348739c632fb69c8833078effbb902adc7f702;p=aai%2Fsearch-data-service.git diff --git a/src/main/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/dao/DocumentStoreInterface.java b/src/main/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/dao/DocumentStoreInterface.java index b0ee35c..a9d5678 100644 --- a/src/main/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/dao/DocumentStoreInterface.java +++ b/src/main/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/dao/DocumentStoreInterface.java @@ -33,6 +33,8 @@ public interface DocumentStoreInterface { public OperationResult createIndex(String index, DocumentSchema documentSchema); + public OperationResult createDynamicIndex(String index, String dynamicSchema); + public OperationResult deleteIndex(String indexName) throws DocumentStoreOperationException; public DocumentOperationResult createDocument(String indexName, @@ -43,6 +45,8 @@ public interface DocumentStoreInterface { DocumentStoreDataEntity document, boolean allowImplicitIndexCreation) throws DocumentStoreOperationException; + public SearchOperationResult suggestionQueryWithPayload(String indexName, String query) throws DocumentStoreOperationException; + public DocumentOperationResult deleteDocument(String indexName, DocumentStoreDataEntity document) throws DocumentStoreOperationException;