mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Removed excerpt from beta search provider
no issue - reverting this change for now as the benefit vs decreased result legibility wasn't high enough
This commit is contained in:
parent
59b304dfca
commit
048b67e574
@ -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']
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user