gsandf / rethinkdb-elasticsearch-stream

🔄 sync RethinkDB tables to Elasticsearch using changefeeds
9 stars 4 forks source link

final mapping would have more than 1 type #45

Open shuat opened 5 years ago

shuat commented 5 years ago

I am trying to do full text search on rethinkdb. I took this package for a spin. I am getting the following error.

Rejecting mapping update to [ta3] as the final mapping would have more than 1 type
rethinkdbElasticsearchStream({
    backfill: true,
    elasticsearch: { host: '127.0.0.1', port: 9200 },
    rethinkdb: { host: '127.0.0.1', port: 28015 },
    tables: [
      { db: 'db1', table: 'lectures' },
      { db: 'db1', table: 'speakers' },
      { db: 'db2', table: 'clipnshare' }
],
    watch: true
  });
  return elastic;
};

I am pretty new to elastic search but would venture to guess that this is related to this es update

Do you have any plans on updating this repo?

What do you suggest?