Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.37 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.37 KB

aelf Elastic Search Client

A C# module for Elastic Search.

About The Project

This project is a C# module for Elastic Search. It provides a simple way to interact with Elastic Search from C# code for aelf related Elastic Search queries.

Getting Started

Adding Package

Run the following command to install it in the current project:

dotnet add package AElf.Indexing.Elasticsearch

Usage

using AElf.Indexing.Elasticsearch;

[DependsOn(
    typeof(AElfIndexingElasticsearchModule)
)]
public class YourModule : AElfModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        Configure<IndexCreateOption>(x => { x.AddModule(typeof(YourModule)); });
        //...
    }
}

Contributing

If you encounter a bug or have a feature request, please use the Issue Tracker. The project is also open to contributions, so feel free to fork the project and open pull requests.

License

Distributed under the Apache License. See License for more information. Distributed under the MIT License. See License for more information.