Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Elastic Stack 8.0

You're reading from   Getting Started with Elastic Stack 8.0 Run powerful and scalable data platforms to search, observe, and secure your organization

Arrow left icon
Product type Paperback
Published in Mar 2022
Publisher Packt
ISBN-13 9781800569492
Length 474 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Asjad Athick Asjad Athick
Author Profile Icon Asjad Athick
Asjad Athick
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: Core Components
2. Chapter 1: Introduction to the Elastic Stack FREE CHAPTER 3. Chapter 2: Installing and Running the Elastic Stack 4. Section 2: Working with the Elastic Stack
5. Chapter 3: Indexing and Searching for Data 6. Chapter 4: Leveraging Insights and Managing Data on Elasticsearch 7. Chapter 5: Running Machine Learning Jobs on Elasticsearch 8. Chapter 6: Collecting and Shipping Data with Beats 9. Chapter 7: Using Logstash to Extract, Transform, and Load Data 10. Chapter 8: Interacting with Your Data on Kibana 11. Chapter 9: Managing Data Onboarding with Elastic Agent 12. Section 3: Building Solutions with the Elastic Stack
13. Chapter 10: Building Search Experiences Using the Elastic Stack 14. Chapter 11: Observing Applications and Infrastructure Using the Elastic Stack 15. Chapter 12: Security Threat Detection and Response Using the Elastic Stack 16. Chapter 13: Architecting Workloads on the Elastic Stack 17. Other Books You May Enjoy

An introduction to full-text searching

The simplest way to search for or retrieve a document is typically to match the search term or text with values in your index or datastore. In Elasticsearch, this type of search happens on keyword fields using term-level queries. As we saw in Chapter 3, Indexing and Searching for Data, term-level queries are useful when you know precisely what you're looking for. A full list of query options is available in the reference guide:

https://www.elastic.co/guide/en/elasticsearch/reference/8.0/term-level-queries.html

For example, if a user wanted to retrieve all recipes written by one or more authors, term-level queries can do the job quickly and efficiently:

GET recipes/_search
{
  "query": {
    "terms": {
      "author": [
        "Staff",
        "Jim...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime