Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Elasticsearch  Indexing
  • Table Of Contents Toc
  • Feedback & Rating feedback
Elasticsearch  Indexing

Elasticsearch Indexing

By : Huseyin Akdogan
close
close
Elasticsearch  Indexing

Elasticsearch Indexing

By: Huseyin Akdogan

Overview of this book

Beginning with an overview of the way ElasticSearch stores data, you’ll begin to extend your knowledge to tackle indexing and mapping, and learn how to configure ElasticSearch to meet your users’ needs. You’ll then find out how to use analysis and analyzers for greater intelligence in how you organize and pull up search results – to guarantee that every search query is met with the relevant results! You’ll explore the anatomy of an ElasticSearch cluster, and learn how to set up configurations that give you optimum availability as well as scalability. Once you’ve learned how these elements work, you’ll find real-world solutions to help you improve indexing performance, as well as tips and guidance on safety so you can back up and restore data. Once you’ve learned each component outlined throughout, you will be confident that you can help to deliver an improved search experience – exactly what modern users demand and expect.
Table of Contents (10 chapters)
close
close
9
Index

Basic concepts and definitions


As stated in the previous chapter, mapping is the process of defining how a document should be mapped to Elasticsearch (if you don't recall, please refer to the Mapping section in the previous chapter). How a field is tokenized, analyzed, and searchable can be found using the mapping mechanism. Keep in mind that mapping is actually a schema definition (we will examine it in detail at the end of this chapter).

Now let's review the basic concepts and definitions.

Metadata fields

All the fields are not returned to us when a document is requested but each document has auto-generated metadata fields with each mapping which have information about the document that allows us to control how the metadata document is indexed. For example, which fields will return with the query results, how long the document will live, and so on.

We will now examine some of those fields.

_source

We have already talked at length about the _source field in Chapter 1, Introduction to Efficient...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Elasticsearch  Indexing
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon