-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Sec. index on json #3330
feat: Sec. index on json #3330
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3330 +/- ##
===========================================
+ Coverage 78.00% 78.46% +0.46%
===========================================
Files 389 392 +3
Lines 35446 35640 +194
===========================================
+ Hits 27648 27964 +316
+ Misses 6151 6044 -107
+ Partials 1647 1632 -15
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 13 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
06e78e4
to
8308672
Compare
## Relevant issue(s) Resolves sourcenetwork#2280 ## Description Enables json fields indexing. JSON interface has been extended to allow traversing it with different configurations. Indexing or documents has been refactor so that instead of acting based off of the fact that there is a special field in the index description (like array or json), we assign a field-specific generator so that every field is responsible for generating a value for the inde key. For example, if we have a composite index made up of fields of types int, array and json (complex composite index), we will generate all possible combinations where int generator will always generate 1 value, array generator will generate values for every element and json generator will generate values for every json node. Added json encoding/decoding to our encoding package.
Relevant issue(s)
Resolves #2280
Description
Enables json fields indexing.
JSON interface has been extended to allow traversing it with different configurations.
Indexing or documents has been refactor so that instead of acting based off of the fact that there is a special field in the index description (like array or json), we assign a field-specific generator so that every field is responsible for generating a value for the inde key. For example, if we have a composite index made up of fields of types int, array and json (complex composite index), we will generate all possible combinations where int generator will always generate 1 value, array generator will generate values for every element and json generator will generate values for every json node.
Added json encoding/decoding to our encoding package.