Derek Binkley
Add Location-based Searching to Site with ElasticSearch
#1about 5 minutes
Understanding the fundamentals of the Elasticsearch search engine
Elasticsearch is a read-optimized search engine based on Apache Lucene that operates via REST calls and is part of the ELK stack.
#2about 2 minutes
Setting up a local development environment with Docker
A local Elasticsearch and Kibana environment can be quickly configured and launched using a simple Docker Compose file.
#3about 6 minutes
Defining data structure with indexes and mappings
Data is organized into JSON documents within an index, and its structure is defined by a mapping that specifies data types like text, keyword, and geo_point.
#4about 11 minutes
Performing basic text searches and filters in Kibana
Use `match` queries for ranked text searching and `filter` queries for exact, non-scored matching, which can be combined using a `bool` query.
#5about 3 minutes
Exploring advanced features and efficient data ingestion
Elasticsearch offers fast performance, advanced features like "more like this" searches, and requires bulk inserts for efficient data loading.
#6about 8 minutes
Finding locations within a specific geographic radius
The `geo_distance` filter allows you to find all documents that fall within a specified circular radius from a central latitude and longitude point.
#7about 5 minutes
Sorting search results by proximity to a point
Instead of just filtering, you can use a `geo_distance` sort to order results by their actual distance from a given point, from nearest to farthest.
#8about 2 minutes
Querying for locations inside a custom polygon shape
The `geo_polygon` filter enables searching for documents whose geo-points fall within a custom shape defined by a series of latitude and longitude coordinates.
#9about 2 minutes
Modifying schemas and handling complex object arrays
You can add new properties to an existing mapping, and the `nested` data type should be used to properly index and query arrays of objects.
Related jobs
Jobs that call for the skills explored in this talk.
Wilken GmbH
Ulm, Germany
Remote
Senior
Java
Docker
+3
Matching moments
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
05:32 MIN
Getting hired by contributing to open source projects
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
05:24 MIN
Empathizing with users over chasing engagement metrics
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
02:39 MIN
Establishing a single source of truth for all data
Cat Herding with Lions and Tigers - Christian Heilmann
04:49 MIN
Using content channels to build an event community
Cat Herding with Lions and Tigers - Christian Heilmann
Featured Partners
Related Videos
Distributed search under the hood
Alexander Reelsen
WeAreDevelopers LIVE – SEO, GEO, AI Slop & More
Chris Heilmann, Daniel Cranney & Simon Cox
Harry Potter and the Elastic Semantic Search
Iulia Feroli
Creating a routing app with Google Maps API from scratch
Germán Álvarez
Vision for Websites: Training Your Frontend to See
Daniel Madalitso Phiri
Writing a full-text search engine in TypeScript
Michele Riva
Search and aggregations made easy with OpenSearch and NodeJS
Olena Kutsenko
Develop AI-powered Applications with OpenAI Embeddings and Azure Search
Rainer Stropek
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Digitec Galaxus Ag
Zürich, Switzerland
Intermediate
API
Java
.NET
Solr
NumPy
+10

Referral Board
Java
Solr
Elasticsearch
Continuous Integration




Canonical Ltd.
Remote
Linux
Python
Kubernetes
Elasticsearch

Canonical Ltd.
Remote
NoSQL
Python
Elasticsearch


Constructor
Remote
€80K
Intermediate
React
Python
Docker
+1