# Filtering repeating group search queries

**URL:** <https://forum.bubble.io/t/filtering-repeating-group-search-queries/214489>\
**Category:** Need help\
**Created:** [July 7, 2022, 5:43pm UTC](https://forum.bubble.io/t/filtering-repeating-group-search-queries/214489 "2022-07-07T17:43:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![insightrade](https://avatars.discourse-cdn.com/v4/letter/i/4491bb/32.png) [@insightrade](https://forum.bubble.io/u/insightrade)\
**Post date:** [July 7, 2022, 5:43pm UTC](https://forum.bubble.io/t/filtering-repeating-group-search-queries/214489/1 "2022-07-07T17:43:54Z")

</div>

I have found several methods to implement searches for the exact string or the keyword contained in it (referencing the example below, I can only get it to return 1 result).

How do I search is a text field contains a part of a string?

To reference a SQL example: SELECT … WHERE Fruit LIKE ‘%Apple%’

List of Fruit: Apples, Oranges, Apple  
Query: Apple  
Desired Return: Apples, Apple

How can I implement this type of filtering on a search string?

---

<div class="post-metadata">

**Author:** ![ed727](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ed727/32/71942_2.png) [@ed727](https://forum.bubble.io/u/ed727)\
**Post date:** [July 8, 2022, 1:46am UTC](https://forum.bubble.io/t/filtering-repeating-group-search-queries/214489/2 "2022-07-08T01:46:16Z")

</div>

Standard Bubble gives you “contains” and “contains keywords” as options, the latter being more flexible. You can read the Bubble documentation on those and experiment with them to see how they behave and if you can live with either.

Beyond that I think you need to use a plugin that expands the text search functionality. I don’t use any so I can’t recommend one, but you’ll see them listed in the plugin store and discussed on the forum. My only tip is if you have a huge database, be aware of how a search plugin works because if a plugin is pulling the search to the client side it isn’t likely to scale well.

---

<div class="post-metadata">

**Author:** ![insightrade](https://avatars.discourse-cdn.com/v4/letter/i/4491bb/32.png) [@insightrade](https://forum.bubble.io/u/insightrade)\
**Post date:** [July 8, 2022, 10:23am UTC](https://forum.bubble.io/t/filtering-repeating-group-search-queries/214489/3 "2022-07-08T10:23:16Z")

</div>

Contains keywords is almost it, just needs to be contains string. I saw someone figure it out in a forum post but the link I saved stopped working. Don’t think there was a plugin involved but I didn’t look. It looked like the search query was saved in an element on the page, then had this which bound the repeating group to the filtered query. I wasn’t sure how to implement it…

 ![how to search for part of field](https://us1.discourse-cdn.com/bubble/original/3X/a/f/afbcabc9165f40d96a476d3926210d5550f6181d.png)

This filter is for backend. Will keep this in mind for the front end stuff.

---

<div class="post-metadata">

**Author:** ![ed727](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ed727/32/71942_2.png) [@ed727](https://forum.bubble.io/u/ed727)\
**Post date:** [July 8, 2022, 2:13pm UTC](https://forum.bubble.io/t/filtering-repeating-group-search-queries/214489/4 "2022-07-08T14:13:26Z")

</div>

From the name I’m guessing that’s this plugin: [Search & Autocorrect Plugin | Bubble](https://bubble.io/plugin/search--autocorrect-1515542335452x628730204959539200)

I also forgot to mention Bubble’s searchbox feature, which has text searching, but that will only deliver an individual result.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 15, 2022, 5:44pm UTC](https://forum.bubble.io/t/filtering-repeating-group-search-queries/214489/5 "2022-09-15T17:44:19Z")

</div>

Closed on September 15, 2022, 5:44pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
