Colin Goodheart-Smithe
686aff1545
Adds ignore_unmapped option to nested and P/C queries
...
The change adds a new option to the `nested`, `has_parent`, `has_children` and `parent_id` queries: `ignore_unmapped`. If this option is set to false, the `toQuery` method on the QueryBuilder will throw an exception if the type/path specified in the query is unmapped. If the option is set to true, the `toQuery` method on the QueryBuilder will return a MatchNoDocsQuery. The default value is `false`so the queries work how they do today (throwing an exception on unmapped paths/types)
2016-04-14 10:34:30 +01:00
..
2016-03-31 10:49:02 +02:00
2015-06-04 01:59:37 +02:00
2015-11-28 18:25:42 +01:00
2015-10-20 13:01:37 -07:00
2015-06-04 01:59:37 +02:00
2015-06-04 01:59:37 +02:00
2016-03-22 16:22:58 +01:00
2016-04-06 15:44:22 +01:00
2016-03-10 13:35:33 -07:00
2016-03-01 17:03:47 -05:00
2016-03-10 13:45:13 +01:00
2016-03-09 16:09:44 -06:00
2015-10-18 13:45:10 +05:30
2016-03-09 16:09:44 -06:00
2016-02-09 02:07:32 -08:00
2015-12-11 17:14:22 -06:00
2015-09-11 11:00:54 +02:00
2016-04-14 10:34:30 +01:00
2016-04-14 10:34:30 +01:00
2015-06-04 01:59:37 +02:00
2015-10-28 10:50:28 +01:00
2016-01-20 16:56:22 +01:00
2015-11-18 14:39:28 +01:00
2016-04-06 15:44:22 +01:00
2016-04-06 15:44:22 +01:00
2016-04-06 15:44:22 +01:00
2015-05-07 20:14:34 +02:00
2016-04-05 15:38:53 +02:00
2015-08-06 19:07:12 +02:00
2015-07-08 16:01:47 +02:00
2016-04-14 10:34:30 +01:00
2016-04-14 10:34:30 +01:00
2016-03-21 12:21:50 +01:00
2015-06-04 01:59:37 +02:00
2015-07-14 18:14:09 +02:00
2015-06-26 10:23:02 +02:00
2015-11-18 15:50:30 +01:00
2015-09-24 11:30:00 -03:00
2015-06-04 01:59:37 +02:00
2016-03-14 10:46:31 +01:00
2015-09-11 11:00:54 +02:00
2015-06-22 18:26:31 -04:00
2015-06-04 01:59:37 +02:00
2015-06-04 01:59:37 +02:00
2015-06-04 01:59:37 +02:00
2016-01-11 22:11:38 -05:00
2015-06-04 01:59:37 +02:00
2015-06-04 01:59:37 +02:00
2015-06-04 01:59:37 +02:00
2015-06-04 01:59:37 +02:00
2015-06-04 01:59:37 +02:00
2016-03-21 12:21:50 +01:00
2016-03-23 17:14:31 +08:00
2015-12-11 20:07:57 +01:00
2016-03-22 16:22:58 +01:00
2016-04-05 15:38:53 +02:00
2015-06-04 01:59:37 +02:00
2015-06-04 01:59:37 +02:00