-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extension for Gridify to be able to use it with Elasticsearch (#…
…126) * Extend Gridify to work with Elasticsearch. Add filtering and sorting functionality. Add tests for different types of data and operators with different combinations of complexity. * Update README.md with info about Elasticsearch compatibility * Add ability to apply CustomElasticsearchNamingAction. Add more tests. * Refactor filtering and ordering functionality. Create base builders and use them for LINQ and Elasticsearch query builders. * Add more Gridify extension for Gridify.Elasticsearch in order to have the same API as original Gridify * feat: check for unsupported features * docs: extend the documentation with information about Gridify.Elasticsearch * fix: remove extra spaces from expected results in tests * docs: move the documentation about Gridify.Elasticsearch to a separate thread * fix: avoid using string extensions for filtering purposes, use interfaces instead * style: remove husky exclude filter for the tests * style: reformat elasticsearch tests * refactor: improve custom operator error message --------- Co-authored-by: AliReza <[email protected]>
- Loading branch information
1 parent
fddd6a6
commit 9cdbf55
Showing
51 changed files
with
3,301 additions
and
715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ node_modules | |
.temp | ||
.cache | ||
docs/.vuepress/dist | ||
/*.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Introduction | ||
|
||
Gridify.Elasticsearch is an extension of Gridify, that provides an ability to generate Elasticsearch DSL queries. | ||
|
||
## Features | ||
|
||
- Fast and easy to use | ||
- Supports filtering, sorting, and pagination | ||
- Supports nested queries | ||
- Supports `string` to `object` mapping | ||
- Compatible with | ||
Elasticsearch ([Elastic.Clients.Elasticsearch 8.*](https://www.nuget.org/packages/Elastic.Clients.Elasticsearch) is a | ||
dependency) | ||
|
||
## Examples | ||
|
||
[Here](./elasticsearch.md#examples-of-usage) you can find some examples how Gridify.Elasticsearch can be used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!!!include(./docs/guide/dependency-injection.md)!!! |
Oops, something went wrong.