# Runtime field not appearing in search results

**URL:** <https://discuss.elastic.co/t/runtime-field-not-appearing-in-search-results/325425>\
**Category:** Elasticsearch\
**Tags:** runtime-fields\
**Created:** [February 13, 2023, 9:46pm UTC](https://discuss.elastic.co/t/runtime-field-not-appearing-in-search-results/325425 "2023-02-13T21:46:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Post date:** [February 14, 2023, 12:03am UTC](https://discuss.elastic.co/t/runtime-field-not-appearing-in-search-results/325425/2 "2023-02-14T00:03:59Z")

</div>

Hi @learningelastic

Read this [answer](https://discuss.elastic.co/t/runtime-field-create-nested-object/312316/2), maybe dont work to nested fields.

> [@learningelastic](#):
>
> I was expecting a field `order_items.total` to be a sibling field to `order_items.quantity`. I've tried quite a few things but nothing seems to get the `order_items.total` field to appear.

Doc:

> Use the [`fields`](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html) parameter on the `_search` API to retrieve the values of runtime fields. Runtime fields won’t display in `_source` , but the `fields` API works for all fields, even those that were not sent as part of the original `_source` .

---

_[View the full topic](https://discuss.elastic.co/t/runtime-field-not-appearing-in-search-results/325425)._
