-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…22966) * fix: Improve search relevance for search_link When `locate` returns 0 it's shown on top instead it should be shown last or not shown at all. This is math hack to avoid using any complex SQL functionality which isn't allowed in DB query. (cherry picked from commit 3144422) * fix: Give idx higher preference than meta order Meta order in most cases is default "modified" which doesn't quite help. idx is # of times a document is referred to somewhere else, which is more likely to be relevant. (cherry picked from commit fec7759) * fix: Make search_link query postgres compatible (cherry picked from commit 55a4449) --------- Co-authored-by: Ankush Menat <ankush@frappe.io>
- Loading branch information
1 parent
e2016fe
commit abc3cca
Showing
2 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters