# Custom Query | Default Query for React Js Search UI

**URL:** <https://discuss.elastic.co/t/custom-query-default-query-for-react-js-search-ui/343181>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [September 16, 2023, 6:45pm UTC](https://discuss.elastic.co/t/custom-query-default-query-for-react-js-search-ui/343181 "2023-09-16T18:45:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![faruque\_holiday](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faruque_holiday/32/125727_2.png) [@faruque\_holiday](https://discuss.elastic.co/u/faruque_holiday)\
**Post date:** [September 16, 2023, 6:45pm UTC](https://discuss.elastic.co/t/custom-query-default-query-for-react-js-search-ui/343181/1 "2023-09-16T18:45:51Z")

</div>

Hi , I'm interested in learning how to craft custom or default queries for a search UI. This might involve tasks such as retrieving specific data based on particular attribute values before rendering, or implementing queries that users themselves cannot execute directly from react js.

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/8/b8724c3dea8104b226bd43589f25bec74a81bc8f.png)

---

<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:** [October 14, 2023, 6:46pm UTC](https://discuss.elastic.co/t/custom-query-default-query-for-react-js-search-ui/343181/2 "2023-10-14T18:46:06Z")

</div>

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