-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance Point In Time support with APIs to list active point-in-time …
…searches Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
- Loading branch information
Showing
3 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
spring-data-opensearch/src/main/java/org/opensearch/data/core/OpenSearchOperations.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.opensearch.data.core; | ||
|
||
import java.util.List; | ||
import org.opensearch.action.search.ListPitInfo; | ||
import org.springframework.data.elasticsearch.core.ElasticsearchOperations; | ||
|
||
/** | ||
* The extension over {@link ElasticsearchOperations} with OpenSearch specific operations. | ||
*/ | ||
public interface OpenSearchOperations extends ElasticsearchOperations { | ||
/** | ||
* Return all active point in time searches | ||
* @return all active point in time searches | ||
*/ | ||
List<ListPitInfo> listPointInTime(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters