Hacker News new | ask | show | jobs
by edsrzf 2650 days ago
This is pretty interesting and useful. Now where are the details about how to get ElasticSearch to behave this way? :)
1 comments

> Now where are the details about how to get ElasticSearch to behave this way?

The rules posted in the article make a lot of sense, but they also require a ton of backend work. To do prefix matches quickly, you need to create a new index of your content. Then to handle the relevance rules described, you need to be able to query both indices and merge the results in a meaningful way. No obvious way to do this with ES.