Index MIME type

This commit is contained in:
Mathieu Darse
2015-03-19 19:00:56 +01:00
parent 31d5237b5d
commit a3dae412f1

View File

@@ -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