MeiliSearch .NET Integration is a NuGet package that seamlessly embeds MeiliSearch into your C# application. It manages the background process and health checks for you, simplifying the integration of full-text search capabilities. In future updates, it will also handle automatic compression and decompression of indexes to help manage local storage usage effectively.
- [x]**Embedded MeiliSearch**: Integrate MeiliSearch directly into your application.
- [x]**Background Process Management**: Automatically handles the lifecycle of the MeiliSearch process.
- [x]**Health Monitoring**: Regular checks on the health of the MeiliSearch instance.
- [x]**API Key Management**: An API key is automatically regenerated every time the MeiliSearch service starts unless one is specified in the configuration.
- [ ]**Resource Monitoring**: Monitor the resources being used including storage by your MeiliSearch.
- [ ]**Future Index Management**: Upcoming feature to automatically compress and decompress indexes for optimized local storage.
To add the MeiliSearch .NET Integration package to your project, you can install it directly from the GitHub Package repository. Follow the steps below based on your preferred method:
### Package Manager Console
Open the Package Manager Console in Visual Studio and run the following command:
To install the package, ensure your project is configured to use GitHub Packages as a NuGet source. You can do this by adding the following to your `nuget.config` file:
Make sure to replace `YOUR_GITHUB_USERNAME` with your GitHub username and `YOUR_GITHUB_TOKEN` with a personal access token that has read access to packages.