Organise imports to ONAP Java standards
[aai/search-data-service.git] / src / main / java / org / onap / aai / sa / searchdbabstraction / elasticsearch / dao / DocumentStoreInterface.java
index 2f3350c..5eaf9a3 100644 (file)
@@ -22,11 +22,11 @@ package org.onap.aai.sa.searchdbabstraction.elasticsearch.dao;
 
 
 import org.onap.aai.sa.rest.BulkRequest;
+import org.onap.aai.sa.rest.DocumentSchema;
 import org.onap.aai.sa.searchdbabstraction.elasticsearch.exception.DocumentStoreOperationException;
 import org.onap.aai.sa.searchdbabstraction.entity.DocumentOperationResult;
 import org.onap.aai.sa.searchdbabstraction.entity.OperationResult;
 import org.onap.aai.sa.searchdbabstraction.entity.SearchOperationResult;
-import org.onap.aai.sa.rest.DocumentSchema;
 
 
 public interface DocumentStoreInterface {
@@ -45,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;