pleroma/docs/configuration
Lain Soykaf fa8541309c
fix(search): set gin_fuzzy_search_limit only for search queries
The limit was a connection parameter, so it applied to every GIN index
scan, not only full-text search: recipient lookups and Oban job queries
could return incomplete, random results. Set it with SET LOCAL around
the search query only, configurable under Pleroma.Search.DatabaseSearch.

The default stays 500 for search: measured on a 74M-object database,
higher limits or none make searches for common words exceed the query
timeout. Remote fetches for URL queries run outside the transaction.

Based on Akkoma 811f0a468.

Co-authored-by: Oneric <oneric@oneric.stub>
2026-10-29 11:26:02 +04:00
..
auth.md [#3286] Documentation on configuring Pleroma as OAuth 2.0 provider. 2021-01-29 16:36:25 +03:00
cheatsheet.md fix(federation): do not deliver to instances rejected by SimplePolicy 2026-10-27 12:38:18 +04:00
custom_emoji.md Fix some more typos 2023-12-28 00:17:04 +01:00
hardening.md Media proxy base URL doesn't need /proxy 2023-05-31 17:49:06 -06:00
how_to_serve_another_domain_for_webfinger.md Document some caveats of webfinger domain setting 2022-11-03 21:13:00 +00:00
howto_database_config.md Bump minimum Elixir version to 1.10 2022-09-02 22:53:54 +02:00
howto_ejabberd.md Include python script and description 2020-10-13 19:58:38 +01:00
howto_mediaproxy.md Nginx example: Add headers and use same paths we use in other places 2025-12-22 16:10:02 +04:00
howto_mongooseim.md Rename some directories because MkDocs uses them for categories 2019-10-02 23:28:45 +03:00
howto_proxy.md fix(http): forward plain HTTP proxy requests 2026-07-22 20:35:51 +04:00
howto_search_cjk.md mix pleroma.database set_text_search_config now runs concurrently and infinitely 2021-08-15 13:49:12 -04:00
howto_set_richmedia_cache_ttl_based_on_image.md Rename some directories because MkDocs uses them for categories 2019-10-02 23:28:45 +03:00
howto_theming_your_instance.md I forgot to git add some files, oops (should be squashed with MR) 2020-06-22 14:18:55 +02:00
i2p.md Fix some more typos 2023-12-28 00:17:04 +01:00
mrf.md Change docs 2021-08-06 07:59:53 +02:00
onion_federation.md Fix some more typos 2023-12-28 00:17:04 +01:00
optimizing_beam.md Fix some more typos 2023-12-28 00:17:04 +01:00
postgresql.md Fix some more typos 2023-12-28 00:17:04 +01:00
search.md fix(search): set gin_fuzzy_search_limit only for search queries 2026-10-29 11:26:02 +04:00
static_dir.md OAuth form user remembering feature. Local MastoFE login / logout fixes. 2020-11-28 21:51:06 +03:00
storing_remote_media.md fixes for tests 2020-06-16 19:03:45 +03:00