#community-help

Elastic's Rank_Features Equivalent in Typesense

TLDR George asked if Typesense has an equivalent to Elastic's rank_features for sparse maps. Kishore Nallan confirmed that there's no equivalent and no current plans to add it.

Powered by Struct AI
7
5mo
Solved
Join the chat
Apr 29, 2023 (5 months ago)
George
Photo of md5-565f126b807e2f7d4cbf562ad95d787b
George
09:55 AM
Hi there! Is there an equivalent to Elastic's rank_features in typesense? Vector search appears to be similar but it's a dense array, and I'm looking to index/query sparse maps. https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-rank-feature-query.html
May 01, 2023 (5 months ago)
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:36 PM
There's no equivalent in Typesense.
George
Photo of md5-565f126b807e2f7d4cbf562ad95d787b
George
04:37 PM
Ah thanks for the response 👍. Any plans for such a thing? Or a bit to esoteric?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:42 PM
Correct me if I am wrong. What that feature does is allow you to come up with a boosting score that uses specific field values in the documents. Almost like sum up the field values (based on boost fraction) and use that final value for sorting?
George
Photo of md5-565f126b807e2f7d4cbf562ad95d787b
George
05:57 PM
That's right yeah. You might store a tag list as a string field and just search for its presence, but with this you can give weights to each tag to customise its relevance score to the query, so its a little more than just boosting.
May 03, 2023 (5 months ago)
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
02:49 PM
Thanks for the clarification. We don't have any current plans on adding that. We typically go by user demand, so things can change if we see a request come up often enough.
George
Photo of md5-565f126b807e2f7d4cbf562ad95d787b
George
03:01 PM
Ok thanks, will have to stick with elastic for now 👍