mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-19 21:03:30 +12:00
chore: slightly better search
This commit is contained in:
parent
2266709b01
commit
c475ba4c05
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ defmodule AshHq.Docs.Extensions.Search.Transformers.AddSearchStructure do
|
|||
calculation:
|
||||
Ash.Query.expr(
|
||||
fragment(
|
||||
"ts_rank_cd(?, websearch_to_tsquery(?))",
|
||||
"ts_rank_cd(?, websearch_to_tsquery(?), 4)",
|
||||
^ref(:searchable),
|
||||
^arg(:query)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue