https://github.com/aelfproject/aelf-elastic-search-client
An aelf wrapper for the NEST elastic search package.
https://github.com/aelfproject/aelf-elastic-search-client
Last synced: about 1 month ago
JSON representation
An aelf wrapper for the NEST elastic search package.
- Host: GitHub
- URL: https://github.com/aelfproject/aelf-elastic-search-client
- Owner: AElfProject
- License: mit
- Created: 2024-07-02T08:27:20.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-07T11:16:08.000Z (over 1 year ago)
- Last Synced: 2025-03-22T15:41:15.893Z (about 1 year ago)
- Language: C#
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aelf Elastic Search Client
A C# module for Elastic Search.
- [About The Project](#about-the-project)
- [Getting Started](#getting-started)
- [Adding Package](#adding-package)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
## 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:
```sh
dotnet add package AElf.Indexing.Elasticsearch
```
### Usage
```csharp
using AElf.Indexing.Elasticsearch;
[DependsOn(
typeof(AElfIndexingElasticsearchModule)
)]
public class YourModule : AElfModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure(x => { x.AddModule(typeof(YourModule)); });
//...
}
}
```
## Contributing
If you encounter a bug or have a feature request, please use the [Issue Tracker](https://github.com/AElfProject/aelf-elastic-search-client/issues/new). 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](LICENSE) for more information.
Distributed under the MIT License. See [License](LICENSE) for more information.