Skip to content

Mapping and Indexing

Matthew Boynes edited this page Apr 19, 2020 · 2 revisions

Overview

Indexing data is the process of storing and making documents (content) searchable in Elasticsearch1. Mapping is the process of defining how a document, and the fields it contains, are stored and indexed 2. One of the most crucial concepts in Elasticsearch is how it analyzes content on indexing and breaks that content down into searchable tokens.

In this section, we'll learn how all this works in SearchPress, what SearchPress does for us out-of-the-box, and how to customize SearchPress' integration to fit your needs.

1: https://www.elastic.co/guide/en/elasticsearch/guide/current/index-doc.html
2: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html

Suggested Reading

From Elasticsearch: The Definitive Guide

This is severely outdated, but still covers the fundamentals better than the reference docs. Pay attention to the concepts, ignore the specific syntax.

Elasticsearch Docs