From 048b67e5740715a730a253aa7313f0bd0258a51c Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 13 Jun 2024 17:03:41 +0100 Subject: [PATCH] Removed excerpt from beta search provider no issue - reverting this change for now as the benefit vs decreased result legibility wasn't high enough --- ghost/admin/app/services/search-provider-beta.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ghost/admin/app/services/search-provider-beta.js b/ghost/admin/app/services/search-provider-beta.js index d286f1250a..ce40a1800c 100644 --- a/ghost/admin/app/services/search-provider-beta.js +++ b/ghost/admin/app/services/search-provider-beta.js @@ -28,20 +28,20 @@ export const SEARCHABLES = [ { name: 'Posts', model: 'post', - fields: ['id', 'url', 'title', 'excerpt', 'status', 'published_at', 'visibility'], + fields: ['id', 'url', 'title', 'status', 'published_at', 'visibility'], order: 'updated_at desc', // ensure we use a simple rather than default order for faster response pathField: 'id', titleField: 'title', - index: ['title', 'excerpt'] + index: ['title'] }, { name: 'Pages', model: 'page', - fields: ['id', 'url', 'title', 'excerpt', 'status', 'published_at', 'visibility'], + fields: ['id', 'url', 'title', 'status', 'published_at', 'visibility'], order: 'updated_at desc', // ensure we use a simple rather than default order for faster response pathField: 'id', titleField: 'title', - index: ['title', 'excerpt'] + index: ['title'] } ];