AkshayMeda / ElasticsearchFulltextExample

Experiments on Fulltext Search using Elasticsearch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elasticsearch Fulltext Search Example

Every project grows to a point it needs to support a Fulltext Search. In this repository I will explore how to use Elasticsearch to index files, provide a Fulltext Search on file contents and provide useful auto-completes. Please regard this repository as a work in progress and it is not finished work in any way.

The Article for this repository can be found at:

What we are going to build

Auto-Complete Search Box

Search Box with Auto Complete

Full-Text Search Results

Search Box with Auto Complete

Document Indexing

Document Indexing Dialog

Document Status Tracking

Document Indexing Dialog

Create Migrations

Install the package Microsoft.EntityFrameworkCore.Tools:

PM> Install-Package Microsoft.EntityFrameworkCore.Tools

Then you can add migrations for your database like this:

PM> add-migration InitialCreate -Context ApplicationDbContext -OutputDir "Database/Migrations" 

License

All code is released under terms of the MIT License.

About

Experiments on Fulltext Search using Elasticsearch.

License:MIT License


Languages

Language:C# 66.8%Language:TypeScript 20.5%Language:HTML 9.5%Language:JavaScript 1.6%Language:CSS 1.5%