SlideShare a Scribd company logo
1 of 7
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 v1Jithan 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 periodoJorge Garcia
 
Justin bieber
Justin bieberJustin bieber
Justin biebertiff336
 
La arquitectura en el mundo
La arquitectura en el mundoLa arquitectura en el mundo
La arquitectura en el mundoAnaDMA
 
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ículospitagoras1957
 
United Nations Certificates
United Nations CertificatesUnited Nations Certificates
United Nations CertificatesDoaa Hammad
 
Cultural Differences
Cultural DifferencesCultural Differences
Cultural Differencesziad saadeh
 
Presentation mon 9 11am
Presentation mon 9 11amPresentation mon 9 11am
Presentation mon 9 11amshyamal 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
 

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 .netIsmaeel Enjreny
 
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 LuceneAsad 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
 
[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 ToolsAxiell ALM
 
QER : query entity recognition
QER : query entity recognitionQER : query entity recognition
QER : query entity recognitionDhwaj Raj
 
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-pptMayank 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 cookiesMahmoudOHassouna
 
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 2013Terrence 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.pdfpcloudy2
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3Usman Mehmood
 
You Don't Know SEO
You Don't Know SEOYou Don't Know SEO
You Don't Know SEOMichael King
 
Google indexing
Google indexingGoogle indexing
Google indexingtahoor71
 

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 AttributesPooja Gaikwad
 
Forms authentication in asp dot net
Forms authentication in asp dot netForms authentication in asp dot net
Forms authentication in asp dot netPooja Gaikwad
 
Owin and katana overview
Owin and katana overviewOwin and katana overview
Owin and katana overviewPooja 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 answersPooja Gaikwad
 
Dot Net Certification Course Pune
Dot Net Certification Course PuneDot Net Certification Course Pune
Dot Net Certification Course PunePooja 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 TechPooja Gaikwad
 
Importance of msil in dot net
Importance of msil in dot netImportance of msil in dot net
Importance of msil in dot netPooja 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 TechPooja 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-TechPooja 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 TechPooja Gaikwad
 
.Net framework-garbage-collection
.Net framework-garbage-collection.Net framework-garbage-collection
.Net framework-garbage-collectionPooja 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

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Recently uploaded (20)

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

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