Monthly Archives: November 2014
Elasticsearch Type mappings with ElasticsearchCRUD
This article shows how to define mappings for types in Elasticsearch using ElasticsearchCRUD. The Core Types definitions in Elasticsearch can be defined using attributes with ElasticsearchCRUD. Code: https://github.com/damienbod/ElasticsearchCrudTypeMappingsExample Other Tutorials: Part 1: ElasticsearchCRUD introduction Part 2: MVC application search with simple documents using autocomplete, jQuery and jTable Part 3: MVC Elasticsearch CRUD with nested documents […]
Elasticsearch Parent, Child, Grandchild documents and Routing
This article shows how to create parent, child and grandchild documents in Elasticsearch using ElasticsearchCRUD. If creating documents which are related to each other, it is important that the documents are all saved to the same shard in Elasticsearch. The search performance is better, if a specific shard can be defined for the search. When […]
Live Reindex in Elasticsearch
The article demonstrates how to do a live reindex in Elasticsearch using ElasticsearchCRUD. The reindex uses scan ans scroll the fetch the data and then updates to a new index using bulk inserts. The reindex has support for alias mapping which makes it possible to do a live index. Code: https://github.com/damienbod/LiveReindexInElasticsearch Other tutorials: Part 1: […]
MVC application with Entity Framework and Elasticsearch
This article demonstrates how to use Entity Framework with MS SQL Server as a primary database and Elasticsearch for the search/select functionality. The application combines the power and performance of Elasticsearch for search and fast selects and also Entity Framework for CUD transactions (Create, Update and Delete). Code: https://github.com/damienbod/WebSearchWithElasticsearchEntityFrameworkAsPrimary Other tutorials: Part 1: ElasticsearchCRUD introduction […]