/elasticizer

Lightweight ElasticSearch repository implementation for .NET

Primary LanguageC#MIT LicenseMIT

Elasticizer

Please support this project by simply putting a Github star. Share this library with friends on Twitter and everywhere else you can.

Elasticizer is a lightweight library to use ElasticSearch with .NET, allowing basic CRUD operations by implementing the repository pattern on the top of Elasticsearch.Net and NEST.

NOTE: This project is in experimental stage now, functionality is subject to slightly change.

You can have a look at unit tests for demo usage. Meanwhile, usage instructions will be provided on further releases.

Built with .NET Framework v4.6.2, solution currently supports ElasticSearch v5.x.

Prerequisites

Packages in this project depend on

Older versions contain outdated dependencies, might produce errors.

Getting started

Installation

You can install Elasticizer by running following commands in the Package Manager Console

Install-Package Elasticizer.Domain -Pre
Install-Package Elasticizer.Core -Pre

Solution architecture

The solution consists of 3 projects

Elasticizer Solution
├─ Elasticizer.Domain
│  - Shared domain classes
│  
├─ Elasticizer.Core
│  - Core functionality
│
└─ Elasticizer.Tests
   - Unit tests, mocks

Running tests

Simply clone this repository and run the tests using Unit Test Explorer.

NOTE: You should provide the connection settings at the app.config before running the tests.

Contributing

If you want to file a bug, contribute some code, or improve documentation, please read up on the following contribution guidelines:

License

The MIT License (MIT)

Copyright (c) 2017 Burak Tasci