Skip to content

Commit

Permalink
Merge pull request #63 from HackID/fix-merge-datasource-61
Browse files Browse the repository at this point in the history
Add datasource name attribute as identifier node config in the reader
  • Loading branch information
afoucret authored Jun 17, 2016
2 parents 5199ecb + 4599d62 commit 6dbae0d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/module-elasticsuite-core/Index/Indices/Config/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ class Reader extends Filesystem
* @var array
*/
protected $_idAttributes = [
'/indices/index' => 'identifier',
'/indices/index/type' => 'name',
'/indices/index/type/mapping/field' => 'name',
'/indices/index' => 'identifier',
'/indices/index/type' => 'name',
'/indices/index/type/datasources/datasource' => 'name',
'/indices/index/type/mapping/field' => 'name',
];

/**
Expand Down

0 comments on commit 6dbae0d

Please sign in to comment.