Analyzer [full_chinese] contains filters [my_synonym] that are not allowed to run in index time mode

this my setting

PUT test
{
	"settings": {
		"analysis": {
			"char_filter": {
				"my_tsconvert": {
					"convert_type": "t2s",
					"type": "stconvert"
				}
			},
			"filter": {
				"my_synonym": {
					"type": "synonym_graph",
					"synonyms_path": "analysis/Test.txt",
					"updateable": true 
				}
			},
			"analyzer": {
				"full_chinese": {
					"filter": ["my_synonym", "lowercase"],
					"type": "custom",
					"tokenizer": "standard"
				}
			}
		}
	},
	"mappings": {
		"properties": {
			"name": {
			  "type":"text",
		   	"fields":{
		   	  "search":{
		   	    "type":"text"
		   	  },
		   	  "searchsss":{
		   	    "type":"text",
		   	    "analyzer":"full_chinese"
		   	  }
		   	}
			}
		}
	}
}

Welcome!

What commands did you run?
What is the full error message?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.