From a3dae412f182e372f383d0ee5717a78d82a32cf5 Mon Sep 17 00:00:00 2001 From: Mathieu Darse Date: Thu, 19 Mar 2015 19:00:56 +0100 Subject: [PATCH] Index MIME type --- .../Phrasea/SearchEngine/Elastic/Indexer/RecordIndexer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndexer.php b/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndexer.php index b39be201c2..c641107f64 100644 --- a/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndexer.php +++ b/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndexer.php @@ -188,7 +188,7 @@ class RecordIndexer ->add('sha256', 'string')->notIndexed() // Mandatory metadata ->add('original_name', 'string')->notIndexed() - ->add('mime', 'string')->notIndexed() + ->add('mime', 'string')->notAnalyzed() // Indexed for Kibana only ->add('type', 'string')->notAnalyzed() ->add('record_type', 'string')->notAnalyzed() // record or story // Dates