SlideShare a Scribd company logo
Part – II
Building A Search Page with
Elasticsearch and .NET
.Net Training Instuitute In Pune
Search index population
Elasticsearch is completely document-oriented and it stores entire
documents in its index. But you need to to create a client to communicate
with Elasticsearch.
Elasticsearch is known to dynamically resolve the document type and its
fields at index time,one can override field mappings or use features on
fields in order to give more advanced usages. In the below example we
decorated our POCO class with some features so we need to develop
mappings with AutoMap.
.Net Training Instuitute In Pune
Full text search
The search method will perform the multi-match query against user
input. The multi-match query is useful while running the query against
multiple fields. By using this, we can see how relevant the Elasticsearch
results are with the default configuration.
First, you require calling the Query method that is a container for any
specific query we want to perform. Next, call the MultiMatch method
which calls the Query method with the actual search phrase as a
parameter and a list of fields that you want to search against. In our
context, these are Title, Body, and Tags.
.Net Training Instuitute In Pune
How to group by tags
Once the search returns results, we would group them by tags so that
users can refine their search. In order to cluster group result as
categories, we use the bucket aggregations. They allow as to compose
bucket of documents which falls into given criteria or not. As we want to
cluster by tags, which is a text field, we will use the term aggregations.
It commands Elasticsearch to neither analyze nor process the input and
to find the field. It would not change ‘unit-testing’ tag to ‘unit’ and ‘testing’
etc.
Now, extending the search result class with a dictionary containing the
tag name and the number of posts designed with this tag.
.Net Training Instuitute In Pune.Net Training Instuitute In Pune
One of the features that are frequently used in search forms is
autocompleted.
Searching big sets of text data by only a few characters is not an easy
task. Elasticsearch provides us completion suggester which works on a
special field that is recorded in a way that helps very fast searching.
You need to decide which field or fields you want to autocomplete to act
on and what results will be suggested. Elasticsearch enables to define
both input and output.
.Net Training Instuitute In Pune
Summary
Installation and configuration of Elasticsearch are very easy. The default
configuration choices are just right to start working with. Elasticsearch
doesn’t need a schema file and reveals a friendly JSON-based HTTP API
for its configuration, index-population, and searching. The engine is
optimized to work with a large amount of data.
You need a high-level .NET client to communicate with Elasticsearch so
it fits nicely in .NET project.
Elasticsearch is an advanced search engine with many attributes and its
own query DSL.
.Net Training Instuitute In Pune
Thank You....!
.Net Training Instuitute In Pune

More Related Content

Viewers also liked

Jithan bridgmohan's resume v1
Jithan bridgmohan's resume v1Jithan bridgmohan's resume v1
Jithan bridgmohan's resume v1
Jithan Bridgmohan
 
E-tourism, nuove competenze e nuovi mestieri, le slide di Nadzeya Kalbaska.
E-tourism, nuove competenze e nuovi mestieri, le slide di Nadzeya Kalbaska.E-tourism, nuove competenze e nuovi mestieri, le slide di Nadzeya Kalbaska.
E-tourism, nuove competenze e nuovi mestieri, le slide di Nadzeya Kalbaska.
Ravenna Future Lessons
 
Pruebaunica 4 periodo
Pruebaunica 4 periodoPruebaunica 4 periodo
Pruebaunica 4 periodo
Jorge Garcia
 
Justin bieber
Justin bieberJustin bieber
Justin bieber
tiff336
 
THE FOOTBALL
THE FOOTBALLTHE FOOTBALL
THE FOOTBALL
jhonhormaza
 
La arquitectura en el mundo
La arquitectura en el mundoLa arquitectura en el mundo
La arquitectura en el mundo
AnaDMA
 
Paso a paso para subir artículos
Paso a paso para subir artículosPaso a paso para subir artículos
Paso a paso para subir artículos
pitagoras1957
 
Network Pro
Network ProNetwork Pro
Network Pro
Geoff Lindsay
 
Figure 1
Figure 1Figure 1
Figure 1
Qingyan Ma
 
United Nations Certificates
United Nations CertificatesUnited Nations Certificates
United Nations CertificatesDoaa Hammad
 
Cultural Differences
Cultural DifferencesCultural Differences
Cultural Differences
ziad saadeh
 
Presentation mon 9 11am
Presentation mon 9 11amPresentation mon 9 11am
Presentation mon 9 11am
shyamal reddy
 
FDN 20 - Ch. 3/4 review assignment (#2)(answers)
FDN 20 - Ch. 3/4 review assignment (#2)(answers)FDN 20 - Ch. 3/4 review assignment (#2)(answers)
FDN 20 - Ch. 3/4 review assignment (#2)(answers)
Michelle Sack
 
CSRA’s Migration to AWS GovCloud (US): An All-In Case Study | AWS Public Sect...
CSRA’s Migration to AWS GovCloud (US): An All-In Case Study | AWS Public Sect...CSRA’s Migration to AWS GovCloud (US): An All-In Case Study | AWS Public Sect...
CSRA’s Migration to AWS GovCloud (US): An All-In Case Study | AWS Public Sect...
Amazon Web Services
 
Dheg
Dheg Dheg

Viewers also liked (15)

Jithan bridgmohan's resume v1
Jithan bridgmohan's resume v1Jithan bridgmohan's resume v1
Jithan bridgmohan's resume v1
 
E-tourism, nuove competenze e nuovi mestieri, le slide di Nadzeya Kalbaska.
E-tourism, nuove competenze e nuovi mestieri, le slide di Nadzeya Kalbaska.E-tourism, nuove competenze e nuovi mestieri, le slide di Nadzeya Kalbaska.
E-tourism, nuove competenze e nuovi mestieri, le slide di Nadzeya Kalbaska.
 
Pruebaunica 4 periodo
Pruebaunica 4 periodoPruebaunica 4 periodo
Pruebaunica 4 periodo
 
Justin bieber
Justin bieberJustin bieber
Justin bieber
 
THE FOOTBALL
THE FOOTBALLTHE FOOTBALL
THE FOOTBALL
 
La arquitectura en el mundo
La arquitectura en el mundoLa arquitectura en el mundo
La arquitectura en el mundo
 
Paso a paso para subir artículos
Paso a paso para subir artículosPaso a paso para subir artículos
Paso a paso para subir artículos
 
Network Pro
Network ProNetwork Pro
Network Pro
 
Figure 1
Figure 1Figure 1
Figure 1
 
United Nations Certificates
United Nations CertificatesUnited Nations Certificates
United Nations Certificates
 
Cultural Differences
Cultural DifferencesCultural Differences
Cultural Differences
 
Presentation mon 9 11am
Presentation mon 9 11amPresentation mon 9 11am
Presentation mon 9 11am
 
FDN 20 - Ch. 3/4 review assignment (#2)(answers)
FDN 20 - Ch. 3/4 review assignment (#2)(answers)FDN 20 - Ch. 3/4 review assignment (#2)(answers)
FDN 20 - Ch. 3/4 review assignment (#2)(answers)
 
CSRA’s Migration to AWS GovCloud (US): An All-In Case Study | AWS Public Sect...
CSRA’s Migration to AWS GovCloud (US): An All-In Case Study | AWS Public Sect...CSRA’s Migration to AWS GovCloud (US): An All-In Case Study | AWS Public Sect...
CSRA’s Migration to AWS GovCloud (US): An All-In Case Study | AWS Public Sect...
 
Dheg
Dheg Dheg
Dheg
 

Similar to Building A Search Page with Elasticsearch and .NET- II

Getting started with Elasticsearch in .net
Getting started with Elasticsearch in .netGetting started with Elasticsearch in .net
Getting started with Elasticsearch in .net
Ismaeel Enjreny
 
Apache lucene
Apache luceneApache lucene
Apache lucene
Dr. Abhiram Gandhe
 
Advanced full text searching techniques using Lucene
Advanced full text searching techniques using LuceneAdvanced full text searching techniques using Lucene
Advanced full text searching techniques using Lucene
Asad Abbas
 
professional fuzzy type-ahead rummage around in xml type-ahead search techni...
professional fuzzy type-ahead rummage around in xml  type-ahead search techni...professional fuzzy type-ahead rummage around in xml  type-ahead search techni...
professional fuzzy type-ahead rummage around in xml type-ahead search techni...
Kumar Goud
 
Technical Utilities for your Site
Technical Utilities for your SiteTechnical Utilities for your Site
Technical Utilities for your Site
Compare Infobase Limited
 
Technologies for Websites
Technologies for WebsitesTechnologies for Websites
Technologies for Websites
Compare Infobase Limited
 
[2 d1] elasticsearch 성능 최적화
[2 d1] elasticsearch 성능 최적화[2 d1] elasticsearch 성능 최적화
[2 d1] elasticsearch 성능 최적화
Henry Jeong
 
[2D1]Elasticsearch 성능 최적화
[2D1]Elasticsearch 성능 최적화[2D1]Elasticsearch 성능 최적화
[2D1]Elasticsearch 성능 최적화
NAVER D2
 
Preview of Custom Search Admin Tools
Preview of Custom Search Admin ToolsPreview of Custom Search Admin Tools
Preview of Custom Search Admin Tools
Axiell ALM
 
Lucene basics
Lucene basicsLucene basics
Lucene basics
Nitin Pande
 
QER : query entity recognition
QER : query entity recognitionQER : query entity recognition
QER : query entity recognition
Dhwaj Raj
 
Elasticsearch
ElasticsearchElasticsearch
Elasticsearch
Divij Sehgal
 
Introduction to internet.
Introduction to internet.Introduction to internet.
Introduction to internet.
Anish Thomas
 
Struts interview-questions-ppt
Struts interview-questions-pptStruts interview-questions-ppt
Struts interview-questions-ppt
Mayank Kumar
 
Murach : How to work with session state and cookies
Murach : How to work with session state and cookiesMurach : How to work with session state and cookies
Murach : How to work with session state and cookies
MahmoudOHassouna
 
Building a scalable search architecture in share point 2013
Building a scalable search architecture in share point 2013Building a scalable search architecture in share point 2013
Building a scalable search architecture in share point 2013
Terrence Nguyen
 
How to use selenium locators effectively for web automation.pdf
How to use selenium locators effectively for web automation.pdfHow to use selenium locators effectively for web automation.pdf
How to use selenium locators effectively for web automation.pdf
pcloudy2
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
Usman Mehmood
 
You Don't Know SEO
You Don't Know SEOYou Don't Know SEO
You Don't Know SEO
Michael King
 
Google indexing
Google indexingGoogle indexing
Google indexing
tahoor71
 

Similar to Building A Search Page with Elasticsearch and .NET- II (20)

Getting started with Elasticsearch in .net
Getting started with Elasticsearch in .netGetting started with Elasticsearch in .net
Getting started with Elasticsearch in .net
 
Apache lucene
Apache luceneApache lucene
Apache lucene
 
Advanced full text searching techniques using Lucene
Advanced full text searching techniques using LuceneAdvanced full text searching techniques using Lucene
Advanced full text searching techniques using Lucene
 
professional fuzzy type-ahead rummage around in xml type-ahead search techni...
professional fuzzy type-ahead rummage around in xml  type-ahead search techni...professional fuzzy type-ahead rummage around in xml  type-ahead search techni...
professional fuzzy type-ahead rummage around in xml type-ahead search techni...
 
Technical Utilities for your Site
Technical Utilities for your SiteTechnical Utilities for your Site
Technical Utilities for your Site
 
Technologies for Websites
Technologies for WebsitesTechnologies for Websites
Technologies for Websites
 
[2 d1] elasticsearch 성능 최적화
[2 d1] elasticsearch 성능 최적화[2 d1] elasticsearch 성능 최적화
[2 d1] elasticsearch 성능 최적화
 
[2D1]Elasticsearch 성능 최적화
[2D1]Elasticsearch 성능 최적화[2D1]Elasticsearch 성능 최적화
[2D1]Elasticsearch 성능 최적화
 
Preview of Custom Search Admin Tools
Preview of Custom Search Admin ToolsPreview of Custom Search Admin Tools
Preview of Custom Search Admin Tools
 
Lucene basics
Lucene basicsLucene basics
Lucene basics
 
QER : query entity recognition
QER : query entity recognitionQER : query entity recognition
QER : query entity recognition
 
Elasticsearch
ElasticsearchElasticsearch
Elasticsearch
 
Introduction to internet.
Introduction to internet.Introduction to internet.
Introduction to internet.
 
Struts interview-questions-ppt
Struts interview-questions-pptStruts interview-questions-ppt
Struts interview-questions-ppt
 
Murach : How to work with session state and cookies
Murach : How to work with session state and cookiesMurach : How to work with session state and cookies
Murach : How to work with session state and cookies
 
Building a scalable search architecture in share point 2013
Building a scalable search architecture in share point 2013Building a scalable search architecture in share point 2013
Building a scalable search architecture in share point 2013
 
How to use selenium locators effectively for web automation.pdf
How to use selenium locators effectively for web automation.pdfHow to use selenium locators effectively for web automation.pdf
How to use selenium locators effectively for web automation.pdf
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
 
You Don't Know SEO
You Don't Know SEOYou Don't Know SEO
You Don't Know SEO
 
Google indexing
Google indexingGoogle indexing
Google indexing
 

More from Pooja Gaikwad

How To Optimize Asp.Net Application ?
How To Optimize Asp.Net Application ?How To Optimize Asp.Net Application ?
How To Optimize Asp.Net Application ?
Pooja Gaikwad
 
Learning .NET Attributes
Learning .NET AttributesLearning .NET Attributes
Learning .NET Attributes
Pooja Gaikwad
 
Forms authentication in asp dot net
Forms authentication in asp dot netForms authentication in asp dot net
Forms authentication in asp dot net
Pooja Gaikwad
 
Owin and katana overview
Owin and katana overviewOwin and katana overview
Owin and katana overview
Pooja Gaikwad
 
Top 15 asp dot net interview questions and answers
Top 15 asp dot net interview questions and answersTop 15 asp dot net interview questions and answers
Top 15 asp dot net interview questions and answers
Pooja Gaikwad
 
Dot Net Certification Course Pune
Dot Net Certification Course PuneDot Net Certification Course Pune
Dot Net Certification Course Pune
Pooja Gaikwad
 
An Overview ASP.NET vNEXT - CRB Tech
An Overview ASP.NET vNEXT - CRB TechAn Overview ASP.NET vNEXT - CRB Tech
An Overview ASP.NET vNEXT - CRB Tech
Pooja Gaikwad
 
Importance of msil in dot net
Importance of msil in dot netImportance of msil in dot net
Importance of msil in dot net
Pooja Gaikwad
 
A simplest way to reconstruct .Net Framework - CRB Tech
A simplest way to reconstruct .Net Framework - CRB TechA simplest way to reconstruct .Net Framework - CRB Tech
A simplest way to reconstruct .Net Framework - CRB Tech
Pooja Gaikwad
 
History of-silverlight-versions-and-its-features-CRB-Tech
History of-silverlight-versions-and-its-features-CRB-TechHistory of-silverlight-versions-and-its-features-CRB-Tech
History of-silverlight-versions-and-its-features-CRB-Tech
Pooja Gaikwad
 
Exploring MVVM, MVC, MVP Patterns - CRB Tech
Exploring MVVM, MVC, MVP Patterns - CRB TechExploring MVVM, MVC, MVP Patterns - CRB Tech
Exploring MVVM, MVC, MVP Patterns - CRB Tech
Pooja Gaikwad
 
.Net framework-garbage-collection
.Net framework-garbage-collection.Net framework-garbage-collection
.Net framework-garbage-collection
Pooja Gaikwad
 

More from Pooja Gaikwad (12)

How To Optimize Asp.Net Application ?
How To Optimize Asp.Net Application ?How To Optimize Asp.Net Application ?
How To Optimize Asp.Net Application ?
 
Learning .NET Attributes
Learning .NET AttributesLearning .NET Attributes
Learning .NET Attributes
 
Forms authentication in asp dot net
Forms authentication in asp dot netForms authentication in asp dot net
Forms authentication in asp dot net
 
Owin and katana overview
Owin and katana overviewOwin and katana overview
Owin and katana overview
 
Top 15 asp dot net interview questions and answers
Top 15 asp dot net interview questions and answersTop 15 asp dot net interview questions and answers
Top 15 asp dot net interview questions and answers
 
Dot Net Certification Course Pune
Dot Net Certification Course PuneDot Net Certification Course Pune
Dot Net Certification Course Pune
 
An Overview ASP.NET vNEXT - CRB Tech
An Overview ASP.NET vNEXT - CRB TechAn Overview ASP.NET vNEXT - CRB Tech
An Overview ASP.NET vNEXT - CRB Tech
 
Importance of msil in dot net
Importance of msil in dot netImportance of msil in dot net
Importance of msil in dot net
 
A simplest way to reconstruct .Net Framework - CRB Tech
A simplest way to reconstruct .Net Framework - CRB TechA simplest way to reconstruct .Net Framework - CRB Tech
A simplest way to reconstruct .Net Framework - CRB Tech
 
History of-silverlight-versions-and-its-features-CRB-Tech
History of-silverlight-versions-and-its-features-CRB-TechHistory of-silverlight-versions-and-its-features-CRB-Tech
History of-silverlight-versions-and-its-features-CRB-Tech
 
Exploring MVVM, MVC, MVP Patterns - CRB Tech
Exploring MVVM, MVC, MVP Patterns - CRB TechExploring MVVM, MVC, MVP Patterns - CRB Tech
Exploring MVVM, MVC, MVP Patterns - CRB Tech
 
.Net framework-garbage-collection
.Net framework-garbage-collection.Net framework-garbage-collection
.Net framework-garbage-collection
 

Recently uploaded

The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 

Recently uploaded (20)

The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 

Building A Search Page with Elasticsearch and .NET- II

  • 1. Part – II Building A Search Page with Elasticsearch and .NET .Net Training Instuitute In Pune
  • 2. Search index population Elasticsearch is completely document-oriented and it stores entire documents in its index. But you need to to create a client to communicate with Elasticsearch. Elasticsearch is known to dynamically resolve the document type and its fields at index time,one can override field mappings or use features on fields in order to give more advanced usages. In the below example we decorated our POCO class with some features so we need to develop mappings with AutoMap. .Net Training Instuitute In Pune
  • 3. Full text search The search method will perform the multi-match query against user input. The multi-match query is useful while running the query against multiple fields. By using this, we can see how relevant the Elasticsearch results are with the default configuration. First, you require calling the Query method that is a container for any specific query we want to perform. Next, call the MultiMatch method which calls the Query method with the actual search phrase as a parameter and a list of fields that you want to search against. In our context, these are Title, Body, and Tags. .Net Training Instuitute In Pune
  • 4. How to group by tags Once the search returns results, we would group them by tags so that users can refine their search. In order to cluster group result as categories, we use the bucket aggregations. They allow as to compose bucket of documents which falls into given criteria or not. As we want to cluster by tags, which is a text field, we will use the term aggregations. It commands Elasticsearch to neither analyze nor process the input and to find the field. It would not change ‘unit-testing’ tag to ‘unit’ and ‘testing’ etc. Now, extending the search result class with a dictionary containing the tag name and the number of posts designed with this tag. .Net Training Instuitute In Pune.Net Training Instuitute In Pune
  • 5. One of the features that are frequently used in search forms is autocompleted. Searching big sets of text data by only a few characters is not an easy task. Elasticsearch provides us completion suggester which works on a special field that is recorded in a way that helps very fast searching. You need to decide which field or fields you want to autocomplete to act on and what results will be suggested. Elasticsearch enables to define both input and output. .Net Training Instuitute In Pune
  • 6. Summary Installation and configuration of Elasticsearch are very easy. The default configuration choices are just right to start working with. Elasticsearch doesn’t need a schema file and reveals a friendly JSON-based HTTP API for its configuration, index-population, and searching. The engine is optimized to work with a large amount of data. You need a high-level .NET client to communicate with Elasticsearch so it fits nicely in .NET project. Elasticsearch is an advanced search engine with many attributes and its own query DSL. .Net Training Instuitute In Pune
  • 7. Thank You....! .Net Training Instuitute In Pune