From b5d1a92fa92dc3edc84133fc1ac265cce780cfc1 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Tue, 12 Jul 2022 21:41:40 +0800 Subject: [PATCH] make title as search_as_you_type type in elastic --- packages/db/elastic_migrations/index_settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/db/elastic_migrations/index_settings.json b/packages/db/elastic_migrations/index_settings.json index cfdd58756..2342520e2 100644 --- a/packages/db/elastic_migrations/index_settings.json +++ b/packages/db/elastic_migrations/index_settings.json @@ -24,7 +24,7 @@ "type": "keyword" }, "title": { - "type": "text" + "type": "search_as_you_type" }, "author": { "type": "text"