diff --git a/app/serializers/rest/instance_serializer.rb b/app/serializers/rest/instance_serializer.rb index 14aeda9462..e9639a08e1 100644 --- a/app/serializers/rest/instance_serializer.rb +++ b/app/serializers/rest/instance_serializer.rb @@ -77,6 +77,13 @@ class REST::InstanceSerializer < ActiveModel::Serializer translation: { enabled: TranslationService.configured?, }, + + search: { + enabled: Chewy.enabled?, + supported_prefix: SearchQueryTransformer::SUPPORTED_PREFIXES, + supported_properties: SearchQueryTransformer::SUPPORTED_PROPERTIES, + supported_operator: SearchQueryTransformer::SUPPORTED_OPERATOR, + }, } end