Hi,
Elasticsearch Version: 7.10.1
Getting the following error when trying to index a document
{"_index":"test1","_type":"_doc","_id":"1000370980","status":400,"error":{"type":"illegal_argument_exception","reason":"cannot index term vector offsets when term vectors are not indexed (field=\"meta.contribGroup.contrib.lnameFname.suggest2._index_prefix\")"}}
Providing the mapping for the concerned field below
"lnameFname": { "type": "text", "analyzer": "sae_english_1", "search_analyzer": "sae_english_1_search", "copy_to": [ "allMeta", "autoCompleteAuthor" ], "fields": { "keyword": { "type": "keyword", "ignore_above": 256 }, "lowercase": { "type": "keyword", "normalizer": "lowercase_normalizer", "ignore_above": 256 }, "suggest1": {"type": "search_as_you_type"}, "suggest2": { "type": "search_as_you_type", "index_options": "offsets", "term_vector": "with_positions_offsets" }, "suggest3": { "type": "search_as_you_type", "analyzer": "sae_english_1" }, "suggest4": { "type": "search_as_you_type", "analyzer": "sae_english_1", "index_options": "offsets", "term_vector": "with_positions_offsets" } } },
This used to work fine before we upgraded Elasticsearch from 7.8.1 to 7.10.1
Any advice will be appreciated.
Thanks