0 votes

I know how to configure a custom mapping on Elasticsearch. But, how to setup settings for a specific index (Like analyzer...) ?

Thank you,

1 Answer

0 votes
Best answer


DSS supports 2 modes for ElasticSearch mapping, defined in each dataset's settings:

  • Either it is automatically deduced from the Dataset's schema
  • Or it is manual and you must specify the whole mapping, including the analyzer to use on a field

Other settings that are not done on the fields (like defining a new analyzer on the index) should be done manually, for example in a code recipe (Shell, Python…).

selected by

I create it manually. But the default sync receipe delete and create the index. And I dont want the "Append" mode.

I want to purge index and bulk insert, not delete and create.

Is it possible ?

Yes, what you want is an external elasticsearch dataset http://doc.dataiku.com/dss/latest/connecting/elasticsearch.html#external-elasticsearch-datasets (see managed & external datasets: http://doc.dataiku.com/dss/latest/concepts/index.html#managed-datasets). Managed dataset are managed by DSS, so may be deleted and re-created by recipes. External datasets, on the other hand, are only emptied when written, not deleted.
Perfect ! Exactly what i looking for.
1,319 questions
1,339 answers
11,888 users

©Dataiku 2012-2018 - Privacy Policy