Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Elastic Stack 6.0

You're reading from  Learning Elastic Stack 6.0

Product type Book
Published in Dec 2017
Publisher Packt
ISBN-13 9781787281868
Pages 434 pages
Edition 1st Edition
Languages
Authors (2):
Pranav Shukla Pranav Shukla
Profile icon Pranav Shukla
Sharath Kumar M N Sharath Kumar M N
Profile icon Sharath Kumar M N
View More author details

Table of Contents (19) Chapters

Title Page
Credits
Disclaimer
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Introducing Elastic Stack Getting Started with Elasticsearch Searching-What is Relevant Analytics with Elasticsearch Analyzing Log Data Building Data Pipelines with Logstash Visualizing data with Kibana Elastic X-Pack Running Elastic Stack in Production Building a Sensor Data Analytics Application Monitoring Server Infrastructure

Searching from structured data


In certain situations, we want to find out whether the given document should be included or not; that is, a simple binary answer. On the other hand, there are other types of queries which are relevance-based. Such relevance-based queries also return a score against each document to say how well that document fits the query. Most structured queries do not need relevance-based scoring, and the answer is a simple yes/no for any item to be included or excluded from the result. These structured search queries are also referred to as term level queries.

Let us understand the flow of a term-level query's execution:

Fig-3.2 Term level query flow

As you can see, the figure is divided into two parts. The left half of the figure depicts what happens at the time of indexing, and the right half of the figure depicts what happens at query time when a term-level query is executed.

Looking at the left half of the figure, we can see what happens during indexing. Here, specifically...

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 $15.99/month. Cancel anytime}