Add autocomplete support for all field types (#216765)

This commit is contained in:
Ioana Tagirta 2025-04-02 19:56:01 +02:00 committed by GitHub
parent 50c2237757
commit 00e776f166
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,24 +47,39 @@ export const mappings = (specService: SpecDefinitionsService) => {
'*': {
type: {
__one_of: [
'text',
'keyword',
'float',
'half_float',
'scaled_float',
'double',
'byte',
'short',
'integer',
'long',
'date',
'boolean',
'alias',
'binary',
'object',
'nested',
'boolean',
'completion',
'constant_keyword',
'date',
'date_nanos',
'dense_vector',
'flattened',
'geo_point',
'geo_shape',
'dense_vector',
'histogram',
'ip',
'join',
'keyword',
'match_only_text',
'nested',
'numeric',
'object',
'passthrough',
'percolator',
'point',
'range',
'rank_feature',
'rank_features',
'search_as_you_type',
'semantic_text',
'shape',
'sparse_vector',
'text',
'token_count',
'version',
'wildcard',
],
},