This document discusses search and building an inverted index for searching. It introduces inverted indexes which map terms to documents. It also covers phrase searching, building an inverted index by splitting text into tokens, removing stop words, normalization, and stemming. The document then introduces ElasticSearch for building a distributed, document-based search index and using django-haystack and Elasticsearch to enable search in a Django application.