Allow sort in ES query
T
Typical Owl
To enable better match rates, the ability to write custom sort logic into the ES query would be very helpful.
Reference:
Z
Zircon Pike
open
Z
Zircon Pike
being researched
B
Ben Eisenberg
Hey Keerthi,
The reason we don't allow custom sorting, boosting, fuzzy matching, etc... is the infrastructure cost of those type of queries (vs a filter) is pretty high. We're working on adding more comprehensive capacity testing to our search API and are hoping that in the future we can add all of these features (plus increasing our default rate limits) to make the search api experience better!
If you want to use more credits though -- I won't complain ;)
T
Typical Owl
Ben Eisenberg: Counterintuitively, having the ability to sort search results would make us consume way more credits. But I do understand the cost of having these features in ES especially if y'all are using a managed instance. Keep me posted though -- either on these features or about a plan (enterprise++, etc.) where we get access to these and more.
B
Ben Eisenberg
Typical Owl: That makes perfect sense -- that's exactly our internal justification as well.
I'd love to understand some of the products // projects that you'd want to use sorting in. If you want to send me some examples over email or chat about it my email is ben@peopledatalabs.com!
T
Typical Owl
Ben Eisenberg: I'll make sure I do that soon. We do have a bunch of moving parts to figure out before I can come out with a concrete doc. Please expect an email within the next week or two. And thanks a lot for engaging here quickly. Appreciate it!
T
Typical Owl
Any explanation on why sort isn't allowed now would also be great. Happy with a response that says - we just want you to use more credits (lol).