Skip to content

Commit

Permalink
magento/magento2-jp/issues/18 : Provide possibility to customize anal…
Browse files Browse the repository at this point in the history
…yzer/tokenyzer for Elasticsearch

 - Fixed missed standard filters list declared in esconfig.xml
  • Loading branch information
Volodymyr Kublytskyi committed Aug 9, 2018
1 parent b1fa6d7 commit 666e69a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ private function getFilterForAnalyzer(): array
$filters = array_merge(
$predefinedStandardFilters,
array_keys($this->getPredefinedCustomizedTokenFilters()),
array_keys($this->selectActiveLocaleConfig(
$this->selectActiveLocaleConfig(
$this->tokenFilterConfig->getTokenFiltersList(),
[]
))
)
);

$filters = array_values(array_unique($filters));
Expand Down Expand Up @@ -233,10 +233,10 @@ private function getCharFilterForAnalyzer(): array
$filters = array_merge(
$predefinedStandardFilters,
array_keys($this->getPredefinedCustomizedCharFilters()),
array_keys($this->selectActiveLocaleConfig(
$this->selectActiveLocaleConfig(
$this->charFilterConfig->getCharFiltersList(),
[]
))
)
);

$filters = array_values(array_unique($filters));
Expand Down

0 comments on commit 666e69a

Please sign in to comment.