# Magnifying search not working

**URL:** <https://forums.rocket.chat/t/magnifying-search-not-working/13855>\
**Category:** Community Support\
**Created:** [April 13, 2022, 3:55pm UTC](https://forums.rocket.chat/t/magnifying-search-not-working/13855 "2022-04-13T15:55:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Andy](https://forums.rocket.chat/u/Andy)\
**Post date:** [April 13, 2022, 3:55pm UTC](https://forums.rocket.chat/t/magnifying-search-not-working/13855/1 "2022-04-13T15:55:51Z")

</div>

### Description

Hi All!  
Search using a magnifying icon does not find some employees, but when you use “directory seach”, the search works correctly.

Mark the user in the channel with @ also does not work autocompletion.

If you start a chat with this user, then the subsequent search using a magnifying glass works correctly.

We also use KeyCloak - can this affect the search?

Thanks for any help!

### Server Setup Information

Version of Rocket.Chat Server: 3.18.5  
Operating System: Windows  
Deployment Method: tar  
Number of Running Instances: 5  
DB Replicaset Oplog: +  
NodeJS Version: v12.18.4  
MongoDB Version: 4.5  
Proxy: nginx  
Firewalls involved: -

### Any additional Information

---

<div class="post-metadata">

**Author:** ![Andy](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Andy](https://forums.rocket.chat/u/Andy)\
**Post date:** [April 20, 2022, 6:03pm UTC](https://forums.rocket.chat/t/magnifying-search-not-working/13855/2 "2022-04-20T18:03:30Z")

</div>

Resolved via Drop Indexes - db.rocketchat\_message.dropIndexes()
