Skip to content

Commit 76e6c4f

Browse files
committed
Add CreatePit RPC and spec filter support
Signed-off-by: xil <fridalu66@gmail.com>
1 parent c1e1a59 commit 76e6c4f

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
## [Unreleased]
66
### Added
77
- Add support for double, int and long in BinaryFieldValue ([#460](https://github.com/opensearch-project/opensearch-protobufs/pull/460))
8+
- Create PIT service support in protobuf generation and search service RPC definitions.
89

910
### Changed
1011

protos/services/search_service.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ import "protos/schemas/common.proto";
2222
service SearchService {
2323
rpc Search(SearchRequest) returns (SearchResponse) {}
2424

25+
// Create a point in time for consistent search pagination.
26+
rpc CreatePit(CreatePitRequest) returns (CreatePITResponse) {}
27+
2528
// Server side grpc stream endpoint
2629
rpc ServerStreamSearch(SearchRequest) returns (stream SearchResponse) {}
2730
}

tools/proto-convert/src/config/spec-filter.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ x-operation-groups:
44
- search
55
- ml.predict_model_stream
66
- ml.execute_agent_stream
7+
- create_pit
78

89
# Schemas to exclude from proto generation
910
# These schemas and their nested dependencies will not be included

0 commit comments

Comments
 (0)