OpenSearch/plugins
javanna a3abfab865 Query refactoring: set has_parent & has_child types context properly
While refactoring has_child and has_parent query we lost an important detail around types. The types that the inner query gets executed against shouldn't be the main types of the search request but the parent or child type set to the parent query. We used to use QueryParseContext#setTypesWithPrevious as part of XContentStructure class which has been deleted, without taking care though of setting the types and restoring them as part of the innerQuery#toQuery call.

Meanwhile also we make sure that the original context types are restored in PercolatorQueriesRegistry

Closes #13863
2015-09-30 12:07:26 +02:00
..
analysis-icu Merge pull request #13702 from rmuir/broke_javadocs 2015-09-22 00:46:31 -04:00
analysis-kuromoji Remove unnecessary copies of license and notice files 2015-09-18 17:48:30 -07:00
analysis-phonetic Merge pull request #13702 from rmuir/broke_javadocs 2015-09-22 00:46:31 -04:00
analysis-smartcn Remove unnecessary copies of license and notice files 2015-09-18 17:48:30 -07:00
analysis-stempel Remove unnecessary copies of license and notice files 2015-09-18 17:48:30 -07:00
cloud-gce Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
delete-by-query Merge branch 'master' into feature/query-refactoring 2015-09-22 12:43:55 +02:00
discovery-azure Fix ping timeout settings inconsistencies 2015-09-23 12:58:23 -04:00
discovery-ec2 Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
discovery-multicast Merge pull request #13702 from rmuir/broke_javadocs 2015-09-22 00:46:31 -04:00
jvm-example Merge pull request #13663 from rjernst/license_cleanup 2015-09-21 18:04:57 -07:00
lang-expression Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
lang-groovy Query refactoring: set has_parent & has_child types context properly 2015-09-30 12:07:26 +02:00
lang-javascript Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
lang-python Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
mapper-murmur3 Test: Move rest-api-spec for plugins into test resources 2015-09-16 03:04:53 -07:00
mapper-size Test: Move rest-api-spec for plugins into test resources 2015-09-16 03:04:53 -07:00
repository-azure Fix all javadocs issues, re-enable compiler warnings (but disable on java9 where maven is broken) 2015-09-21 23:35:32 -04:00
repository-s3 Add SpecialPermission to guard exceptions to security policy. 2015-09-29 17:32:56 -04:00
site-example Test: Move rest-api-spec for plugins into test resources 2015-09-16 03:04:53 -07:00
store-smb [cloud-azure] Split azure plugin in 3 plugins 2015-09-21 17:55:23 +02:00
pom.xml Factor groovy out of core into lang-groovy 2015-09-28 20:17:45 -04:00