diff --git a/raystack/compass/v1beta1/service.proto b/raystack/compass/v1beta1/service.proto index 792c40d5..8afbfa7c 100644 --- a/raystack/compass/v1beta1/service.proto +++ b/raystack/compass/v1beta1/service.proto @@ -737,6 +737,25 @@ message SearchAssetsRequest { }, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "offset parameter defines the offset from the first result you want to fetch"} ]; + + SearchFlags flags = 8 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { + description: "flags to control the search behavior (e.g. enable highlight, disable fuzzy, etc)" + }]; +} + +message SearchFlags { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { + json_schema: { + title: "SearchFlags" + } + }; + bool disable_fuzzy = 2 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { + description: "disable fuzzy search."} + ]; + + bool enable_highlight = 3 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { + description: "enable highlight in search response." + }]; } message SearchAssetsResponse {