-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add FlatObject FieldMapper #6507
Commits on Mar 22, 2023
-
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6218161 - Browse repository at this point
Copy the full SHA 6218161View commit details -
resolve import package for HttpHost
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42f730a - Browse repository at this point
Copy the full SHA 42f730aView commit details -
Dynamic Create FlatObjectFieldType for dotpath field
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5932bc7 - Browse repository at this point
Copy the full SHA 5932bc7View commit details -
Rename flat-object to flat_object and fix CI tests
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86b22d9 - Browse repository at this point
Copy the full SHA 86b22d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70b680f - Browse repository at this point
Copy the full SHA 70b680fView commit details -
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for da425e4 - Browse repository at this point
Copy the full SHA da425e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a7b503 - Browse repository at this point
Copy the full SHA 4a7b503View commit details -
Configuration menu - View commit details
-
Copy full SHA for cba30f5 - Browse repository at this point
Copy the full SHA cba30f5View commit details
Commits on Mar 23, 2023
-
Add integration tests and remove benchmark
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e98f06b - Browse repository at this point
Copy the full SHA e98f06bView commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bdd5e29 - Browse repository at this point
Copy the full SHA bdd5e29View commit details -
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1753062 - Browse repository at this point
Copy the full SHA 1753062View commit details -
Revert "Skip IT tests before 2.7.0"
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a5d0b9 - Browse repository at this point
Copy the full SHA 0a5d0b9View commit details
Commits on Mar 28, 2023
-
Add more IT tests for supported queries
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cdf6797 - Browse repository at this point
Copy the full SHA cdf6797View commit details
Commits on Mar 29, 2023
-
Removed license head and add tests for wildcard query
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83a6b09 - Browse repository at this point
Copy the full SHA 83a6b09View commit details
Commits on Mar 31, 2023
-
Add tests for array, nested-arrary, number and float
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1670aa9 - Browse repository at this point
Copy the full SHA 1670aa9View commit details
Commits on Apr 3, 2023
-
Upgrade FlatObjectFieldMapperTests to MapperTestCase
- Upgrading `FlatObjectFieldMapperTests` from `MapperServiceTestCase` to `MapperTestCase`. The `MapperTestCase` explicitly forces us to: - Test parameter updates (empty now) - Explicitly specify if the field supports Meta and Boost (if not, relevant tests are automatically skipped) - Test also the substring fields - Add new test `testMapperServiceHasParser` to verify the new `flat_object` field mapper is present in mapper service registry - Remove duplicated test and assertions methods - Removed `testExistsQueryDocValuesDisabledWithNorms` as this test was not adding much. We shall reintroduce similar test later if we decide that we want to support ExistsQuery and what to do if DocValue are disabled and Norms enabled. Signed-off-by: Lukáš Vlček <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3504c05 - Browse repository at this point
Copy the full SHA 3504c05View commit details -
Add exist query in FlatObjectFieldMapperTests and FlatObjectFieldData…
…Tests Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37e646b - Browse repository at this point
Copy the full SHA 37e646bView commit details -
Add IT tests for painless query in testDocValues
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9e6223 - Browse repository at this point
Copy the full SHA b9e6223View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a28527 - Browse repository at this point
Copy the full SHA 7a28527View commit details
Commits on Apr 4, 2023
-
Add filter script (Painless) test for flat_object
While it is not possible to use flat_object field in scripting filter context to access doc values (like `doc[<flat_object>.<field_x>]`) it is possible to call `doc[<flat_object>].size()` to get number of fields inside the flat_object field. - Reorganize flat_object yaml tests into sections: - Mappings - Supported - Unsupported - Scripting (Painless) yamlRest tests need to go into lang-painless module Signed-off-by: Lukáš Vlček <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3302ac3 - Browse repository at this point
Copy the full SHA 3302ac3View commit details
Commits on Apr 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c8e51e9 - Browse repository at this point
Copy the full SHA c8e51e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73f08d7 - Browse repository at this point
Copy the full SHA 73f08d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a02a398 - Browse repository at this point
Copy the full SHA a02a398View commit details
Commits on Apr 6, 2023
-
Remove non-relevant Javadoc from DynamicKeyFieldMapper
Signed-off-by: Lukáš Vlček <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4546c7 - Browse repository at this point
Copy the full SHA e4546c7View commit details -
Improve flat_object scripting test
Make it more obvious what the `doc[<flat_field>].size()` number represents. Signed-off-by: Lukáš Vlček <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1c17f0 - Browse repository at this point
Copy the full SHA e1c17f0View commit details -
Add test for mapping parameters
Mapping parameters are not allowed in the initial version. This commit adds a test to demonstrate that trying to specify index/search analyzer for the flat_object field will fail. Signed-off-by: Lukáš Vlček <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de2f32b - Browse repository at this point
Copy the full SHA de2f32bView commit details -
remove IndexAnalyzer from Builder
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27ee059 - Browse repository at this point
Copy the full SHA 27ee059View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f2206a - Browse repository at this point
Copy the full SHA 1f2206aView commit details -
remove IndexAnalyzer from Builder
Signed-off-by: Mingshi Liu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 543755f - Browse repository at this point
Copy the full SHA 543755fView commit details