SlideShare a Scribd company logo
How to search...better!
How to search...better!
How to search...better!
How to search...better!
How to search...better!
How to search...better!
How to search...better!
Welcome Elasticsearch!
How to search...better!
How to search...better!
How to search...better!
verb
> curl XGET http://localhost:9200?pretty
node
> curl XGET http://localhost:9200?pretty
port
> curl XGET http://localhost:9200?pretty
query string
> curl XGET http://localhost:9200?pretty
DEMO
> GET /twitter/_search?q=2014
11 results
> GET /twitter/_search?q=2014
11 results
> GET /twitter/_search?q=2014-09-13
11 results
> GET /twitter/_search?q=2014
11 results
> GET /twitter/_search?q=2014-09-13
11 results
> GET /twitter/_search?q=date:2014-09-13
1 result
> GET /twitter/_search?q=2014
11 results
> GET /twitter/_search?q=2014-09-13
11 results
> GET /twitter/_search?q=date:2014-09-13
1 result
> GET /twitter/_search?q=date:2014
no result
DEMO
[mapping]
date = type:date
_all = type:string
date = exact value
_all = full text
Inverted index
“The quick brown fox jumped over the lazy dog”
“Quick brown foxes leap over lazy dogs in summer”
Inverted index: separate words / terms
[The,quick,brown,fox,jumped,over,the,lazy,dog]
[Quick,brown,foxes,leap,over,lazy,dogs,in,summer]
Inverted index: sort unique terms
[The,brown,dog,fox,jumped,lazy,over,quick,the]
[Quick,brown,dogs,foxes,in,lazy,leap,over,summer]
Inverted index: list docs containing terms
term doc-01 doc-02
Quick X
The X
brown X X
dog X
dogs X
fox X
... ... ...
analysis
=
tokenization + normalization
analyzer
=
tokenizer + token filters
Standard analyzer
“The Quick Brown Fox jumped over the Lazy Dog!”
Standard analyzer
standard tokenizer
“The,Quick,Brown,Fox,jumped,over,the,Lazy,Dog”
Standard analyzer
lowercase filter
“the,quick,brown,fox,jumped,over,the,lazy,dog”
Standard analyzer
stopword filter
“quick,brown,fox,jumped,over,lazy,dog”
English analyzer
“The Quick Brown Fox jumped over the Lazy Dog!”
English analyzer
standard tokenizer
“The,Quick,Brown,Fox,jumped,over,the,Lazy,Dog”
English analyzer
lowercase filter
“the,quick,brown,fox,jumped,over,the,lazy,dog”
English analyzer
english stemmer
“the,quick,brown,fox,jumped,over,the,lazy,dog”
English analyzer
english stemmer
“the,quick,brown,fox,jump,over,the,lazy,dog”
English analyzer
english stopwords
“quick,brown,fox,jump,over,lazy,dog”
DEMO
[analyzer]
Elasticsearch & dotnet-core
Elasticsearch.NET vs NEST
● Low level client that provides a
one-to-one mapping with the
Elasticsearch REST API
● No deps
● Almost completely generated from
the official REST API spec which
makes it easy keep up to date
● High level client that internally uses
Elasticsearch.NET client
● Map request/response to strongly
typed objects

More Related Content

PDF
Hitchhiker's Guide to"'Serverless" Javascript - Steven Faulkner, Bustle
PPT
Hotel jobs
PPTX
PDF
Heroku addons development - Nov 2011
PDF
Mastering Elasticsearch 2nd Edition Edition Rafal Kuc
ODP
Elastic Search
PPTX
Introduction to Elasticsearch with basics of Lucene
PPTX
Introducing ElasticSearch - Ashish
Hitchhiker's Guide to"'Serverless" Javascript - Steven Faulkner, Bustle
Hotel jobs
Heroku addons development - Nov 2011
Mastering Elasticsearch 2nd Edition Edition Rafal Kuc
Elastic Search
Introduction to Elasticsearch with basics of Lucene
Introducing ElasticSearch - Ashish

Similar to How to search...better! (20)

PDF
Faster and better search results with Elasticsearch
PPTX
Philly PHP: April '17 Elastic Search Introduction by Aditya Bhamidpati
PDF
Real-time search in Drupal with Elasticsearch @Moldcamp
PDF
DRUPAL AND ELASTICSEARCH
PPT
Craig Brown speaks on ElasticSearch
PDF
Kyiv.py #16 october 2015
PDF
Enhancement of Searching and Analyzing the Document using Elastic Search
PDF
Returning the right results - Jettro Coenradie
PPTX
Connect and search your data
PDF
Introduction to Elasticsearch
PDF
06. ElasticSearch : Mapping and Analysis
PPTX
ElasticSearch Basics
PDF
Elasticsearch speed is key
PDF
Practical Elasticsearch - real world use cases
PPTX
Getting Started With Elasticsearch In .NET
PPTX
Getting started with Elasticsearch in .net
PPTX
Introduction to Elasticsearch
PPTX
Elasticsearch a real-time distributed search and analytics engine
PPTX
An Introduction to Elastic Search.
PPTX
The ELK Stack - Launch and Learn presentation
Faster and better search results with Elasticsearch
Philly PHP: April '17 Elastic Search Introduction by Aditya Bhamidpati
Real-time search in Drupal with Elasticsearch @Moldcamp
DRUPAL AND ELASTICSEARCH
Craig Brown speaks on ElasticSearch
Kyiv.py #16 october 2015
Enhancement of Searching and Analyzing the Document using Elastic Search
Returning the right results - Jettro Coenradie
Connect and search your data
Introduction to Elasticsearch
06. ElasticSearch : Mapping and Analysis
ElasticSearch Basics
Elasticsearch speed is key
Practical Elasticsearch - real world use cases
Getting Started With Elasticsearch In .NET
Getting started with Elasticsearch in .net
Introduction to Elasticsearch
Elasticsearch a real-time distributed search and analytics engine
An Introduction to Elastic Search.
The ELK Stack - Launch and Learn presentation
Ad

More from Alessandro Melchiori (20)

PDF
C# metaprogramming with source generator.pdf
PDF
Scale your (aks) cluster, luke!
PDF
A quick introduction to AKS
PDF
Developing reliable applications with .net core and AKS
PDF
VS Code tools for docker
PPTX
Developing reliable applications with .net core and AKS
PDF
How to search...better! (azure search)
PDF
AKS: k8s e azure
PPTX
A quick tour around Azure Dev Spaces
PPTX
Azure functions: from a function to a whole application in 60 minutes
PPTX
Aks: k8s e azure
PDF
Monitoring docker: from zero to Azure
PPTX
Cooking Akka.net and Azure Service Fabric together
PPTX
Azure data platform overview
PPTX
ACR + ACS + VSTS: a complete ALM pipeline with docker and azure
PPTX
Docker & Azure
PDF
Docker and Azure
PPTX
Come ti "pusho" il web con WebSockets: da 0 a SignalR
PPTX
Docker & azure
PPTX
Azure service fabric: a gentle introduction
C# metaprogramming with source generator.pdf
Scale your (aks) cluster, luke!
A quick introduction to AKS
Developing reliable applications with .net core and AKS
VS Code tools for docker
Developing reliable applications with .net core and AKS
How to search...better! (azure search)
AKS: k8s e azure
A quick tour around Azure Dev Spaces
Azure functions: from a function to a whole application in 60 minutes
Aks: k8s e azure
Monitoring docker: from zero to Azure
Cooking Akka.net and Azure Service Fabric together
Azure data platform overview
ACR + ACS + VSTS: a complete ALM pipeline with docker and azure
Docker & Azure
Docker and Azure
Come ti "pusho" il web con WebSockets: da 0 a SignalR
Docker & azure
Azure service fabric: a gentle introduction
Ad

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Cloud computing and distributed systems.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Empathic Computing: Creating Shared Understanding
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Encapsulation theory and applications.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Cloud computing and distributed systems.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Empathic Computing: Creating Shared Understanding
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
Encapsulation theory and applications.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Machine learning based COVID-19 study performance prediction
Dropbox Q2 2025 Financial Results & Investor Presentation
Chapter 3 Spatial Domain Image Processing.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Diabetes mellitus diagnosis method based random forest with bat algorithm
Programs and apps: productivity, graphics, security and other tools
NewMind AI Weekly Chronicles - August'25 Week I
Building Integrated photovoltaic BIPV_UPV.pdf
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...

How to search...better!