mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-18 19:17:18 -04:00
Improved performance of status search queries using the default GIN index
This commit is contained in:
parent
1775a4db08
commit
1266b180b9
2 changed files with 3 additions and 1 deletions
1
changelog.d/gin-search.fix
Normal file
1
changelog.d/gin-search.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Improved performance of status search queries using the default GIN index
|
|
@ -102,7 +102,8 @@ defmodule Pleroma.Search.DatabaseSearch do
|
|||
^tsc,
|
||||
o.data,
|
||||
^search_query
|
||||
)
|
||||
),
|
||||
order_by: [desc: :inserted_at]
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue