Removing AJSC and moving to SpringBoot
[aai/search-data-service.git] / src / main / java / org / onap / aai / sa / searchdbabstraction / elasticsearch / dao / DocumentStoreInterface.java
index b0ee35c..a9d5678 100644 (file)
@@ -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;