concept datum in category elasticsearch

This is an excerpt from Manning's book Relevant Search: With applications for Solr and Elasticsearch.
Just as e-commerce search mirrors a shopper’s interactions with a salesperson, expert search parallels a searcher’s conversation with a research librarian. These librarians understand the lingo of specialized researchers. When asked a question, they guide specialists toward data and related research that specialists couldn’t easily find on their own.
Search also encourages further exploration by describing the distribution of matching documents throughout the corpus. Sharon’s original search for Barcelona beaches, for example, was constrained to articles only in the Travel section. But a good search implementation would indicate the number of articles matching “barcelona beaches” in all other sections of the newspaper. As illustrated in figure 2.2, this aggregate information is often presented in a sidebar as a set of filters also known as facets. Perhaps the article Sharon remembered reading is about the booming tourism of Barcelona beaches. It’s in the Economy section of the newspaper. Given the data presented in the facets, she may choose to select that facet, filtering the search to include only information from that section.
When moving data into a data store, people talk about the process of extracting, transforming, and loading information, often referred to as ETL. Data is extracted from wherever it’s warehoused, transformed into a format amenable to the destination data store, and then loaded into that data store. In this section, we use the ETL terminology to walk through how data makes its way into a search engine.
Because we know that we’re dealing with a search engine, we can be more specific about the steps in search’s ETL process. As illustrated in figure 2.5, these steps are extraction, enrichment, analysis, and indexing. Here, extraction is the process of retrieving the documents from their sources. The optional step of enrichment adds information to the documents useful for relevance. Analysis, as you saw earlier in this chapter, converts document text or data into tokens that enable matching. And finally, indexing is the process of placing data into those data structures.
We cover extraction and enrichment rather generically. Many times, the details of these steps depend entirely on how your source data is stored. Indexing concerns us only as it pertains to enabling/disabling features for enabling relevance. Analysis, however, has overriding importance to search relevance and is expounded on here. It’s also discussed at several points throughout the book. Recall, analysis transforms raw text and data from the documents into tokens. These tokens represent the document’s features. Engineering these to match features from a user’s query is critical to satisfy the user’s information need.
During the enrichment step, the documents from the extraction step are augmented with additional information. This can be an important step in building relevant search, because often the raw, extracted documents lack features that are sufficiently rich to be matched against the users’ queries. Document enrichment comprises three main categories: cleaning data, augmenting existing data, and merging external data.