# HG changeset patch # User Arthur Lutz <arthur.lutz@logilab.fr> # Date 1464362676 -7200 # Fri May 27 17:24:36 2016 +0200 # Node ID 793d169d5cb5c570d73b3877f1c893c80794738e # Parent 073889b33c0a3a2f832af9e2cdbefc1c0154dbf6 [es] index mapping configuration for exact results (wip on example data) diff --git a/es.py b/es.py --- a/es.py +++ b/es.py @@ -32,8 +32,19 @@ 'language': 'French'} } } + , + "mappings" : { + "Did" : { + "properties" : { + "unitid" : { + "type" : "string", + "index" : "not_analyzed" + } + } + } } + } def indexable_types(schema): global INDEXABLE_TYPES