Skip to content

Commit 9b6eca9

Browse files
committed
v28: add symbols_to_index and token_separators to field schema
1 parent 31fe36a commit 9b6eca9

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

openapi.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,6 +1922,29 @@ components:
19221922
type: boolean
19231923
description: >
19241924
Values are stemmed before indexing in-memory. Default: false.
1925+
token_separators:
1926+
type: array
1927+
description: >
1928+
List of symbols or special characters to be used for
1929+
splitting the text into individual words in addition to space and new-line characters.
1930+
items:
1931+
type: string # characters only
1932+
# Could `enum` be used instead, given it's symbols/special *characters*, e.g.:
1933+
# enum: ["@", "!", ".", "/", ","]
1934+
minLength: 1
1935+
maxLength: 1
1936+
default: []
1937+
symbols_to_index:
1938+
type: array
1939+
description: >
1940+
List of symbols or special characters to be indexed.
1941+
items:
1942+
type: string # characters only
1943+
# Could `enum` be used instead, given it's symbols/special *characters*, e.g.:
1944+
# enum: ["@", "!", ".", "/", ","]
1945+
minLength: 1
1946+
maxLength: 1
1947+
default: []
19251948
embed:
19261949
type: object
19271950
required:

0 commit comments

Comments
 (0)