#community-help

Modifying Search Response in Typesense

TLDR Sai asked about modifying search responses in Typesense. Kishore Nallan suggested using curated results or pinned hits to customize result positions and shared related documentation links.

Powered by Struct AI
4
29mo
Solved
Join the chat
Aug 26, 2021 (29 months ago)
Sai
Photo of md5-6c1f32ee79d1166e54e3f17345b8d814
Sai
10:48 AM
Hi , is there a plugin or a feature in typesense where i can modify the search response ?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
10:49 AM
We have a way to override the results with curated results based on some condition. We also pinned hits which also allows you to customize result positions.
10:50
Kishore Nallan
10:50 AM
10:50
Kishore Nallan
10:50 AM
For pinned hits, see the pinned_hits param here: https://typesense.org/docs/0.21.0/api/documents.html#search