From f4cc74c65e1472d99a07aed9088dc2907f03f79b Mon Sep 17 00:00:00 2001 From: Siddharth Date: Mon, 5 Aug 2019 16:26:38 +0530 Subject: [PATCH] Type String is now replaced with text in Elasticsearch Source: https://www.elastic.co/blog/strings-are-dead-long-live-strings --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 00c3d4c..1e02b75 100644 --- a/readme.md +++ b/readme.md @@ -212,7 +212,7 @@ For mapping, you can set a `mappingProperties` property in your model and use so ```php protected $mappingProperties = array( 'title' => array( - 'type' => 'string', + 'type' => 'text', 'analyzer' => 'standard' ) );