O'Reilly logo
live online training icon Live Online training

Elasticsearch: Next Steps

A hands-on in-depth guide for developers

Topic: Data
Madhusudhan Konda

Elasticsearch is the de facto standard in the search and analytics field. Its advanced data searching and analytical features offerings have made this open source search and analytics engine a must-have tool for most organizations and businesses.

But as with any new technology, mastering a technology or framework is daunting and comes with a sharp learning curve. To architect, design, and develop an enterprise search engine using Elasticsearch, you need a solid understanding of the product. The depth and complexity of the subject is vast and requires a guiding hand.

Join expert Madhusudhan Konda to solidify your Elasticsearch fundamentals and better understand the tool’s inner workings. You’ll dig into Elasticsearch’s architecture and dissect its features through easy-to-follow code examples. Get hands-on as you explore search basics, relevancy, inverted index and scoring, creating and running multiclusters, index management, document operations, executing searches (including advanced search such as compound searching and geosearch), and more.

What you'll learn-and how you can apply it

By the end of this live online course, you’ll understand:

  • Architecture and multicluster deployments
  • Indexing management in-depth
  • Single and multidocument operations in detail
  • Basic and advanced searching
  • Cluster management
  • Visualizations

And you’ll be able to:

  • Deploy a multicluster Elasticsearch server
  • Create indices on the fly and use templates
  • Index and update documents
  • Update and delete documents using scripting
  • Build complex search queries, including Boolean and geosearches
  • Run aggregations
  • Create visualizations, including dashboards and graphs

This training course is for you because...

  • You’re a developer, architect, DevOps engineer, analyst, manager, or product owner who wants to get hands-on with Elasticsearch.
  • You want to better understand Elasticsearch concepts and best practices.
  • You’re working to become a certified Elasticsearch Engineer.
  • You work with large datasets and need to understand how to use Elasticsearch to power full-text, fuzzy, and term-level searches and other advanced features.
  • You’re an architect, developer, or analyst who needs to design and develop microservices that talk to Elasticsearch clusters.

Prerequisites

  • A basic understanding of JSON
  • Familiarity with REST, Java, and Elasticsearch (useful but not required)

Recommended preparation:

About your instructor

  • Madhusudhan Konda is a passionate technologist and a lifelong tech learner who loves distilling complex problems into simpler solutions, looking at the big picture and providing technical direction, and experimenting with newer programming languages and shiny frameworks. Over his career, Madhusudhan has held roles such as solution architect, development lead, lead developer, and others, always with a strong inclination toward teaching his fellow techies programming languages, frameworks, and new technologies. He’s been instrumental in delivering high-quality solutions to major clients such as EBRD, Credit Suisse, UBS, Mizuho, Deutsche Bank, Halifax, British Petroleum, British Airways, and Lloyd’s of London, to name a few. His core competencies lie in not only creating simple architectures for complex business problems and designing and developing the software projects from the ground up but also providing strategic road maps, cost-effective architectures, and product designs, leading teams, mentoring, and providing thought leadership. He’s written well-received books and produced video courses on Java, Spring, and the Hibernate ecosystem.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Getting started (20 minutes)

  • Presentation and demos: Installing Elasticsearch on Windows, macOS, and Linux systems; concepts—documents, index, inverted index, and others; talking to Elasticsearch—RESTful APIs
  • Q&A

Mapping and text analysis (15 minutes)

  • Presentation: Data types in Elasticsearch; static and dynamic settings; analyzer modules; character filters, tokenizers, and token filters
  • Q&A

Indexing and document operations (20 minutes)

  • Presentation and demos: Index APIs; CRUD operations; bulk API; mappings, settings, and aliases; reindexing
  • Hands-on exercise: Work with indexing and document operations
  • Q&A

Break (5 minutes)

Search basics (15 minutes)

  • Presentation and demos: Relevancy; query context—filter versus query; full-text and term search; URL search; query DSL
  • Q&A

Term-level queries (15 minutes)

  • Presentation and demos: Term and terms queries; prefix, IDs, and range queries; fuzzy queries; wildcard queries
  • Hands-on exercise: Use term-level queries
  • Q&A

Full-text queries (25 minutes)

  • Presentation and demos: Match and match all queries; match phrase and match phrase prefix queries; multimatch, common terms, and intervals queries
  • Hands-on exercise: Use full-text queries
  • Q&A

Break (5 minutes)

Compound queries (30 minutes)

  • Presentation: Boolean queries—must, must_not, should, and filter clauses; boosting queries; function score queries; constant score queries; dis max queries
  • Hands-on exercise: Work with compound queries
  • Q&A

Aggregations (30 minutes)

  • Presentation: Metrics aggregations; bucket aggregations; pipeline aggregations
  • Hands-on exercise: Work with aggregations
  • Q&A