# Promote documents for all search

**URL:** <https://discuss.elastic.co/t/promote-documents-for-all-search/299107>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [March 8, 2022, 2:34pm UTC](https://discuss.elastic.co/t/promote-documents-for-all-search/299107 "2022-03-08T14:34:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![StevenMartins](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@StevenMartins](https://discuss.elastic.co/u/StevenMartins)\
**Post date:** [March 8, 2022, 2:34pm UTC](https://discuss.elastic.co/t/promote-documents-for-all-search/299107/1 "2022-03-08T14:34:36Z")

</div>

1/ Is there a way to promote documents for all queries?  
"Curation" exists but only for a given query and not for all the queries that can be made.  
For example promote documents for seasonal products (winter, summer...).

2 / If so, is there a way to do it in mass (because I would have several thousand documents to promote at once)?

Thank you in advance for your answer

---

<div class="post-metadata">

**Author:** ![ross.bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ross.bell/32/77559_2.png) [@ross.bell](https://discuss.elastic.co/u/ross.bell)\
**Post date:** [March 8, 2022, 5:36pm UTC](https://discuss.elastic.co/t/promote-documents-for-all-search/299107/2 "2022-03-08T17:36:40Z")

</div>

Hey @StevenMartins,

You could introduce a boolean field to your documents to capture whether they're universally promoted, and then transparently boost on that field at search time.

Let me know if that helps!

Ross

---

<div class="post-metadata">

**Author:** ![StevenMartins](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@StevenMartins](https://discuss.elastic.co/u/StevenMartins)\
**Post date:** [March 9, 2022, 8:37am UTC](https://discuss.elastic.co/t/promote-documents-for-all-search/299107/3 "2022-03-09T08:37:26Z")

</div>

hi @ [ross.bell](https://discuss.elastic.co/u/ross.bell)  
All of my documents are potentially to be put forward at some point, but not all at the same time.

For example :  
I have some documents : Document\_A, Document\_B, Document\_C, Document\_D.  
At the beginning of the month I want to promote Document\_A and Document\_B for all search and not for a single search as proposed by the "curation" function.  
At the end of the month I want unpromote Document\_A, Document\_B and promote Document\_C, Document\_D, for all search.

The "curation" system is good but I can't click thousands of times, on thousands of documents, to promote them and that for all the searches made via the App Search.

Thanks for your reply.

---

<div class="post-metadata">

**Author:** ![ross.bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ross.bell/32/77559_2.png) [@ross.bell](https://discuss.elastic.co/u/ross.bell)\
**Post date:** [March 9, 2022, 2:58pm UTC](https://discuss.elastic.co/t/promote-documents-for-all-search/299107/4 "2022-03-09T14:58:24Z")

</div>

You'd have to re-index the documents with the promoted boolean field set as needed. Using the API, you could automate parts of that to assist with the volume of updates that need to be done. Then, the transparent search flag would need to be set by your search UI, which is something you'd have to introduce with customization.

Unfortunately, there's no functionality in the App Search UI that supports this at the moment.

---

<div class="post-metadata">

**Author:** ![StevenMartins](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@StevenMartins](https://discuss.elastic.co/u/StevenMartins)\
**Post date:** [March 9, 2022, 3:16pm UTC](https://discuss.elastic.co/t/promote-documents-for-all-search/299107/5 "2022-03-09T15:16:33Z")

</div>

I understand the solution.  
I had hoped that I had misread the documentation and that there is a system already in place for a lambda business to promote products/documents directly via App Search.

Thanks anyway

---

<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:** [April 6, 2022, 3:16pm UTC](https://discuss.elastic.co/t/promote-documents-for-all-search/299107/6 "2022-04-06T15:16:40Z")

</div>

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