OpenSearch/docs/reference/search
Martijn van Groningen 4393939f5e inner_hits: Nested parent field should be resolved based on the parent inner hit definition, instead of the nested parent field in the mapping.
The behaviour is better in the case someone has multiple levels of nested object fields defined in the mapping and like to define a single inner_hits definition that is two or more levels deep.

If someone wants inner hits on a nested field that is 2 levels deep the following would need to be defined:

```
{
  ...
  "inner_hits" : {
     "path" : {
        "level1" : {
            "inner_hits" : {
               "path" : {
                  "level2" : {
                     "query" : { .... }
                  }
               }
            }
        }
     }
  }
}
```

With this change the above can be defined as:

```
{
  ...
  "inner_hits" : {
     "path" : {
        "level1.level2" : {
            "query" : { .... }
        }
     }
  }
}
```

Closes #9251
2015-03-16 16:31:03 -07:00
..
aggregations [DOCS] add missing comma in percentile_rank aggregation example 2015-03-10 08:21:06 -07:00
request inner_hits: Nested parent field should be resolved based on the parent inner hit definition, instead of the nested parent field in the mapping. 2015-03-16 16:31:03 -07:00
suggesters Mappings: Remove `index_analyzer` setting to simplify analyzer logic 2015-01-28 13:43:15 -08:00
aggregations.asciidoc [Aggregations] Meta data support 2014-11-03 22:32:23 +01:00
benchmark.asciidoc Docs: Use the new experimental annotation. 2015-02-05 15:29:45 +01:00
count.asciidoc Docs: Use the new experimental annotation. 2015-02-05 15:29:45 +01:00
exists.asciidoc Search Exists API: Checks if any matching documents exist for a given query 2014-07-31 15:42:30 -04:00
explain.asciidoc Revert "[QUERY] Remove lowercase_expanded_terms and locale options" 2015-03-13 13:51:44 -06:00
facets.asciidoc Facets: Removal from master. 2014-08-21 10:34:39 +02:00
more-like-this.asciidoc Added the ability to include the queried document for More Like This API. 2014-05-09 12:59:39 +02:00
multi-search.asciidoc Facets: Removal from master. 2014-08-21 10:34:39 +02:00
percolate.asciidoc Introduce index option named 'index.percolator.map_unmapped_fields_as_string', that handles unmapped fields in percolator queries as type string. 2015-01-19 09:51:10 +01:00
request-body.asciidoc Docs: Use the new experimental annotation. 2015-02-05 15:29:45 +01:00
search-shards.asciidoc Docs: Fixed path to search-shards 2014-07-26 15:05:53 +02:00
search-template.asciidoc Update search-template.asciidoc 2014-10-31 15:32:14 +01:00
search.asciidoc [DOCS] Corrected syntax error in search curl cmd 2014-11-12 17:21:19 +01:00
suggesters.asciidoc Update suggesters.asciidoc 2014-09-28 11:04:28 +02:00
uri-request.asciidoc Revert "[QUERY] Remove lowercase_expanded_terms and locale options" 2015-03-13 13:51:44 -06:00
validate.asciidoc Docs: Removed all the added/deprecated tags from 1.x 2014-09-26 21:04:42 +02:00