Remove unused code

This commit is contained in:
Damien Alexandre
2014-09-08 11:37:14 +02:00
parent c7e3c46891
commit 0bbd028969

View File

@@ -229,37 +229,6 @@ class Indexer
$mapping->add('flags', $this->getRecordFlagsMapping());
return $mapping->export();
// TODO Migrate code below this line
[
'_source' => [
'enabled' => true
],
'_all' => [
'analyzer' => 'french',
'analysis' => [
'analyzer' => [
'french' => [
'type' => 'custom',
'tokenizer' => 'letter',
'filter' => ["asciifolding", "lowercase", "french_stem", "stop_fr"]
],
'autocomplete_french' => [
'type' => 'custom',
'tokenizer' => 'letter',
'filter' => ["asciifolding", "lowercase", "stop_fr"]
]
],
'filter' => [
'stop_fr' => [
'type' => 'stop',
'stopwords' => ['l', 'm', 't', 'qu', 'n', 's', 'j', 'd'],
]
],
]
]
];
}
private function getRecordFieldsStructure()