# Can't find Pinned Search in Java high level rest client

**URL:** <https://discuss.elastic.co/t/cant-find-pinned-search-in-java-high-level-rest-client/289715>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [November 19, 2021, 5:40pm UTC](https://discuss.elastic.co/t/cant-find-pinned-search-in-java-high-level-rest-client/289715 "2021-11-19T17:40:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sutty100](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@sutty100](https://discuss.elastic.co/u/sutty100)\
**Post date:** [November 19, 2021, 5:40pm UTC](https://discuss.elastic.co/t/cant-find-pinned-search-in-java-high-level-rest-client/289715/1 "2021-11-19T17:40:56Z")

</div>

I can't seem to find in the Java High level rest client (7.15.2) the [pinned search](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/query-dsl-pinned-query.html) query type. It is not in the QueryBuilders object, am I missing something here or is this just not included in the high level rest client?

---

<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 17, 2021, 5:41pm UTC](https://discuss.elastic.co/t/cant-find-pinned-search-in-java-high-level-rest-client/289715/2 "2021-12-17T17:41:02Z")

</div>

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