This article shows how to use index warmers with ElasticsearchCRUD. Warmers are useful for the most used queries, and can help with performance. A warmer can be added when creating an index, added any time after or deleted from an index. Warmers can also be added globally or per index type. Code: https://github.com/damienbod/ElasticsearchWarmers Other Tutorials: […]

This tutorial shows how to create an MVC 6 aspnet50 application with does a full text search using Elasticsearch. This application uses jQuery-UI to send the search requests and ElasticsearchCRUD (pre-release version) to send the requests to Elasticsearch. ElasticsearchCRUD supports aspnet50. The source code can be found in the aspnet50 branch: https://github.com/damienbod/ElasticsearchCRUD/tree/aspnet5/ElasticsearchCRUD.vNext MVC 6 Code: […]

This article shows how to use Elasticsearch highlighting in a MVC application for search results. The application does a simple Elasticsearch Fuzzy Query and the highlighted results are displayed in a Razor view. Code: https://github.com/damienbod/MVCSearchHighlightingElasticsearch Other Tutorials: Part 1: ElasticsearchCRUD introduction Part 2: MVC application search with simple documents using autocomplete, jQuery and jTable Part […]

This article shows how to do searches across multiple indices and types in Elasticsearch using ElasticsearchCRUD. Elasticsearch provides an Indices Filter, a Type Filter, and an Indices Query which can be used when working with multiple indices and types. Aggregations searches and Count requests can also be executed using multiple indices, types. Code: https://github.com/damienbod/ElasticsearchParentChildGrandChild Other […]

This article shows how to implement Elasticsearch aggregation search requests and responses using ElasticsearchCRUD. Code: https://github.com/damienbod/AggregationExamplesWithElasticsearchCRUD The Elasticsearch Aggregation Examples contains integration tests which shows how to use all the different type of aggregations in ElasticsearchCRUD. Other Tutorials: Part 1: ElasticsearchCRUD introduction Part 2: MVC application search with simple documents using autocomplete, jQuery and jTable […]

This article shows how to setup an Elasticsearch index with an alias and bulk insert a lot of documents. When bulk inserting lots of documents, it improves performance by turning off the refresh interval (RefreshInterval = “-1″) and turning off replication. When the insert is finished, these settings are set to the required values depending […]

This article demonstrates how to do searches with ElasticsearchCRUD. The API provides a search model which can be used with the search API from Elasticsearch. You can search both sync/async and also provide you own JSON string or use the search model. Lots of examples can be found here: https://github.com/damienbod/ElasticsearchCRUD/tree/master/ElasticsearchCRUD.Integration.Test/SearchTests Other Tutorials: Part 1: ElasticsearchCRUD […]

Follow

Get every new post delivered to your Inbox.

Join 60 other followers