# Patching Discourse's search

**URL:** <https://meta.discourse.org/t/patching-discourses-search/157156>\
**Category:** Development\
**Created:** [July 8, 2020, 3:09pm UTC](https://meta.discourse.org/t/patching-discourses-search/157156 "2020-07-08T15:09:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![snoopdouglas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/snoopdouglas/32/186414_2.png) [@snoopdouglas](https://meta.discourse.org/u/snoopdouglas)\
**Post date:** [July 8, 2020, 3:09pm UTC](https://meta.discourse.org/t/patching-discourses-search/157156/1 "2020-07-08T15:09:02Z")

</div>

I’m writing a plugin which stores some extra data against each user (similar to `discourse-user-notes`, but not staff-only), and would like to be able to search against this.

Presumably this involves patching something in `lib/search.rb`. I’m aware the Algolia search plugin overrides what appears in the search box _popup_, but ideally, I’d like this to affect the actual results page too.

Does anyone have any suggestions on where to start?

---

_[View the full topic](https://meta.discourse.org/t/patching-discourses-search/157156)._
