The difference between max_gram and min_gram in NGram Tokenizer must be less than or equal to: [1] but was [4]. This limit can be set by changing the [index.max_ngram_diff] index level setting.
In a Laravel project edit 'App\Classes\Elasticsearch\Configurators\ProductIndexConfigurator.php' and add in the $settings Array:
protected $settings = [
'index' => [
'max_ngram_diff' => 4
]
]
Categorieën
Elasticsearch