Maptype — fast doc-value lookups for map data in Elasticsearch

-
Guenther Starnberger, Tech Lead
- Jul 30, 2019
The ability to quickly serve search results is essential for Yelp. Ranking performance has a significant impact on the time it takes to process a search request, and it’s crucial for fast ranking that we can quickly look up the data that’s fed into our machine learning models. Per-document map-like data is especially challenging in this regard, as traditional approaches often read and decode the full map only to look up a single value within that map later on. MapType is a custom Elasticsearch datatype that provides an optimized look-up approach for such data. Let’s start by discussing a concrete...