Hi Everyone,
I have setup ElasticSearch and Couchbase ES connector. I want to filter my data according to my document id, document ids which start with ‘flat::’. In elasticsearch.yml file I have set my filters as:
couchbase.keyFilter.type: include +
couchbase.keyFilter.keyFiltersRegex.flat: ^flat.*$
But when I create a replication to ElasticSearch instance, it indexes all my documents.
I tried with
couchbase.keyFilterType: include
couchbase.keyFilters.filter1: ^flat.*$
Yet did not work neither.
What am I doing wrong? Any help or alternative solution will be useful. I’m really desperate here.
The versions of tools I’m using:
elasticsearch-2.1.1
elasticsearch-transport-couchbase: v2.2.1.2
couchbase: Version: 4.1.0-5005 Community Edition (build-5005)