richardwilly98/elasticsearch-river-mongodb

excludeFields parameter in river.

richardwilly98 opened this issue · 3 comments

This parameter should provide a comma separated list of fields that should not be indexed.

Currently the only option available to exclude fields to be indexed is using a script filter. It would be probably more efficient to exclude directly within the river.

Please rate this feature.

Add support for child level attributes using dotted notation.
exclude_fields = ["level1.level2"]

{
    "level1" : {
        "level2" : {
            "attribute" : "1"
        },
        "attribute2" : "9"
    }
}   

Should be transformed in

{
    "level1" : {
        "attribute2" : "9"
    }
}

using include_fields as a parameter in options. however there are other extra keys that are getting indexed. Any pointers ?