mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
feat: boost sitename score by 2 times in the basic search
This commit is contained in:
parent
afaaf8af60
commit
e4284d215c
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ const appendQuery = (builder: ESBuilder, query: string): ESBuilder => {
|
|||
{ field: 'content', boost: 1 },
|
||||
{ field: 'author', boost: 1 },
|
||||
{ field: 'description', boost: 1 },
|
||||
{ field: 'siteName', boost: 1 },
|
||||
{ field: 'siteName', boost: 2 },
|
||||
]
|
||||
const nestedFields: Field[] = [{ field: 'highlights.annotation', boost: 2 }]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue