# BadRequestError(400, 'search\_phase\_execution\_exception', 'runtime error')

**URL:** <https://discuss.elastic.co/t/badrequesterror-400-search-phase-execution-exception-runtime-error/320340>\
**Category:** Elasticsearch\
**Created:** [December 2, 2022, 8:40am UTC](https://discuss.elastic.co/t/badrequesterror-400-search-phase-execution-exception-runtime-error/320340 "2022-12-02T08:40:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjayk1241](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sanjayk1241](https://discuss.elastic.co/u/sanjayk1241)\
**Post date:** [December 2, 2022, 8:40am UTC](https://discuss.elastic.co/t/badrequesterror-400-search-phase-execution-exception-runtime-error/320340/1 "2022-12-02T08:40:20Z")

</div>

I am trying to implement the search functionality using the elasticsearch concept.

I am getting the following error:

**BadRequestError(400, 'search\_phase\_execution\_exception', 'runtime error')**

I am not sure where I am doing the mistake.

My source code is located [here](https://medium.com/@sanjay.feb9/semantic-search-with-elasticsearch-db00bc7ff989)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 30, 2022, 8:41am UTC](https://discuss.elastic.co/t/badrequesterror-400-search-phase-execution-exception-runtime-error/320340/2 "2022-12-30T08:41:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
