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',
|
name: 'Posts',
|
||||||
model: 'post',
|
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
|
order: 'updated_at desc', // ensure we use a simple rather than default order for faster response
|
||||||
pathField: 'id',
|
pathField: 'id',
|
||||||
titleField: 'title',
|
titleField: 'title',
|
||||||
index: ['title', 'excerpt']
|
index: ['title']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Pages',
|
name: 'Pages',
|
||||||
model: 'page',
|
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
|
order: 'updated_at desc', // ensure we use a simple rather than default order for faster response
|
||||||
pathField: 'id',
|
pathField: 'id',
|
||||||
titleField: 'title',
|
titleField: 'title',
|
||||||
index: ['title', 'excerpt']
|
index: ['title']
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user