typesense icon indicating copy to clipboard operation
typesense copied to clipboard

Question/Feature Request: Pinned/Forced Search Results at Specific Positions

Open b-barry opened this issue 1 year ago • 0 comments

Description

Hello Typesense Team,

We are looking to build a feed builder for articles, similar to the book search functionality available on books-search.typesense.org. Our goal is to allow users to save their search queries, including filters, facets, and sorting options.

We would like to introduce an advanced feature that enables us to pin or force specific search results at a particular position in the results list. For example, when fetching all "Biography" books ordered by the last publication date, we want to display three preselected books as the first three results or based another query result, regardless of their publication date. This feature would be useful for scenarios where a user has paid to have their content appear in the top positions for a specific search query.

We are wondering if there is a simple and performant way to achieve this with Typesense. Ideally, we would like to avoid handling this logic on the client side.

Any guidance or suggestions you can provide would be greatly appreciated. If this feature is not currently available, we would like to request its consideration for future development.

Thank you for your time and for creating such an amazing search engine.

Steps to reproduce

N/A

Expected Behavior

N/A

Actual Behavior

N/A

Metadata

Typesense Version:

OS:

b-barry avatar May 20 '24 12:05 b-barry