toluaina/pgsync

pgsync does not support index.settings.analysis.char_filter.my_char_filter.type

parisa-mghd opened this issue · 1 comments

PGSync version:

Postgres version:

Elasticsearch version:

Redis version:

Python version:

Problem Description:

I'm trying to use filter in my index setting but it seems it is not supporting by pgync
[
    {
        "database": "",
        "index": "",
        "setting": {
            "settings": {
                "analysis" : {
                        "analyzer" : {
                            "my_analyzer" : {
                                "tokenizer" : "standard",
                                "filter" : ["standard", "lowercase", "my_word_delimiter"]
                            }
                        },
                        "filter" : {
                            "my_word_delimiter" : {
                                "type" : "word_delimiter",
                                "preserve_original": "true"
                            }
                        }
                    }
                  }
                },


        "nodes": {
            "table": "",
            "columns": [
                "name",


Error Message (if any):

elasticsearch.exceptions.RequestError: RequestError(400, 'illegal_argument_exception', 'unknown setting [index.settings.analysis.char_filter.my_char_filter.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings')



[index.settings.analysis.filter.my_word_delimiter.preserve_original


index.settings.analysis.filter.my_stemmer.name]
  • I think the declaration might be incorrect.
  • Here is an example:
  • Try this in your schema.json
"setting": {
    "analysis" : {
        "analyzer" : {
                "my_analyzer" : {
                    "tokenizer" : "standard",
                    "filter" : ["standard", "lowercase", "my_word_delimiter"]
                }
            },
            "filter" : {
                "my_word_delimiter" : {
                    "type" : "word_delimiter",
                    "preserve_original": "true"
                }
            }
        }
    }
}