Skip to content

Commit ac7f8fe

Browse files
committed
[AOLS] Added missing properties, 'first_q', 'validate_field_names' and 'sampled'.
1 parent 9a7c7a2 commit ac7f8fe

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

openapi.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2724,7 +2724,7 @@ components:
27242724
items:
27252725
$ref: "#/components/schemas/SearchResultHit"
27262726
request_params:
2727-
$ref: "#/components/schemas/SearchRequestParams"
2727+
$ref: "#/components/schemas/SearchRequestParams"
27282728
conversation:
27292729
$ref: "#/components/schemas/SearchResultConversation"
27302730
union_request_params:
@@ -2745,6 +2745,8 @@ components:
27452745
properties:
27462746
collection_name:
27472747
type: string
2748+
first_q:
2749+
type: string
27482750
q:
27492751
type: string
27502752
per_page:
@@ -3073,6 +3075,13 @@ components:
30733075
against. Multiple fields are separated with a comma.
30743076
type: string
30753077

3078+
validate_field_names:
3079+
description: >
3080+
Controls whether Typesense should validate if the fields exist in the schema.
3081+
When set to false, Typesense will not throw an error if a field is missing.
3082+
This is useful for programmatic grouping where not all fields may exist.
3083+
type: boolean
3084+
30763085
nl_query:
30773086
description: Whether to use natural language processing to parse the query.
30783087
type: boolean
@@ -3895,6 +3904,8 @@ components:
38953904
type: object
38963905
field_name:
38973906
type: string
3907+
sampled:
3908+
type: boolean
38983909
stats:
38993910
type: object
39003911
properties:

0 commit comments

Comments
 (0)