From fd29d7e20f84e1b6405985730d5ac1c7b1cda71c Mon Sep 17 00:00:00 2001 From: Ben Cumber Date: Wed, 30 Nov 2016 15:58:43 -0700 Subject: [PATCH] Potential mapping solution for #643 --- includes/mappings/5-0.php | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/includes/mappings/5-0.php b/includes/mappings/5-0.php index 864caf8baf..f92b8b923e 100644 --- a/includes/mappings/5-0.php +++ b/includes/mappings/5-0.php @@ -85,8 +85,7 @@ 'type' => 'text', 'fields' => array( 'sortable' => array( - 'type' => 'text', - 'analyzer' => 'ewp_lowercase', + 'type' => 'keyword', ), 'raw' => array( 'type' => 'keyword', @@ -135,8 +134,7 @@ 'type' => 'keyword', ), 'sortable' => array( - 'type' => 'text', - 'analyzer' => 'ewp_lowercase', + 'type' => 'keyword', ), ), ), @@ -183,8 +181,7 @@ 'type' => 'keyword', ), 'sortable' => array( - 'type' => 'text', - 'analyzer' => 'ewp_lowercase', + 'type' => 'keyword', ), ), ), @@ -195,8 +192,7 @@ 'type' => 'keyword', ), 'sortable' => array( - 'type' => 'text', - 'analyzer' => 'ewp_lowercase', + 'type' => 'keyword', ), ), ), @@ -227,8 +223,7 @@ 'type' => 'keyword', ), 'sortable' => array( - 'type' => 'text', - 'analyzer' => 'ewp_lowercase', + 'type' => 'keyword', ), ), ),