Duplicate
Details
Assignee
UnassignedUnassignedReporter
Yoann RodièreYoann RodièreComponents
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Yoann Rodière
Yoann RodièreComponents
Priority
Created December 13, 2016 at 1:38 PM
Updated December 16, 2016 at 8:07 AM
Resolved December 16, 2016 at 8:07 AM
Follows up on https://hibernate.atlassian.net/browse/HSEARCH-2219#icft=HSEARCH-2219
Some tokenizers, token filters or char filters have parameters with a structured type (array), but currently we only allow strings and transmit them as is to Elasticsearch (we don't even convert integers).
For instance:
https://www.elastic.co/guide/en/elasticsearch/reference/2.4/analysis-ngram-tokenizer.html => "token_chars" is an array
https://www.elastic.co/guide/en/elasticsearch/reference/2.4/analysis-edgengram-tokenizer.html => "token_chars" is an array
https://www.elastic.co/guide/en/elasticsearch/reference/2.4/analysis-mapping-charfilter.html => "mappings" is an array
https://www.elastic.co/guide/en/elasticsearch/reference/5.1/analysis-htmlstrip-charfilter.html => "escape_tags" is an array
(Note: the list above is exhaustive for tokenizers and char filters, but we should also have a look at token filters)