# Custom search attributes lost after 1.19 -\> 1.20

**URL:** <https://community.temporal.io/t/custom-search-attributes-lost-after-1-19-1-20/7597>\
**Category:** Server Deployment\
**Tags:** elasticsearch\
**Created:** [March 16, 2023, 7:41pm UTC](https://community.temporal.io/t/custom-search-attributes-lost-after-1-19-1-20/7597 "2023-03-16T19:41:14Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Umaid\_Abbasi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/umaid_abbasi/32/3481_2.png) [@Umaid\_Abbasi](https://community.temporal.io/u/Umaid_Abbasi)\
**Post date:** [June 6, 2023, 2:23pm UTC](https://community.temporal.io/t/custom-search-attributes-lost-after-1-19-1-20/7597/10 "2023-06-06T14:23:44Z")

</div>

The above was not the fix.

Actual fix:

> <https://github.com/temporalio/temporal/pull/3889/files>
>
> \*\*What changed?\*\*
> Fix docker config template to set up only one visibility stor…e.
> 
> 
> \*\*Why?\*\*
> Having both standard and advanced visibility store configs make the Server to set up dual visibility store, which messes up with search attributes.
> 
> 
> \*\*How did you test it?\*\*
> Build docker images, ran it, and checked logs.
> 
> 
> \*\*Potential risks\*\*
> No.
> 
> 
> \*\*Is hotfix candidate?\*\*
> No.

> [@Custom Search Attributes not appearing post upgrade to 1.20.1](https://community.temporal.io/t/custom-search-attributes-not-appearing-post-upgrade-to-1-20-1/7904/3):
>
> @tihomir , we have upgraded to latest version of server to 1.20.2 as well and we don’t see the custom search attributes on server. If we rollback to 1.19.1 version, we are able to see the custom attributes. Please advise if any additional setup to be done on 1.20.1 or 1.20.2 version to see the custom search attributes.

---

_[View the full topic](https://community.temporal.io/t/custom-search-attributes-lost-after-1-19-1-20/7597)._
