Hi,
I read in documentation, that for Edge n-gram token filter
the side
parameter is Deprecated
. Why ? What is the equivalent then ?
Thanks.
Hi,
I read in documentation, that for Edge n-gram token filter
the side
parameter is Deprecated
. Why ? What is the equivalent then ?
Thanks.
Hi @fraf .
If u want to use "back" u should use filter reverse before edge_ngram
Instead of using the
back
value, you can use thereverse
token filter before and after theedge_ngram
filter to achieve the same results.
GET _analyze
{
"tokenizer": "standard",
"filter": [
"reverse",
{
"type": "edge_ngram",
"min_gram": 1,
"max_gram": 2
}
],
"text": "quick fox"
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.