# Searching functionality: "contains" operation

**URL:** <https://forum.bubble.io/t/searching-functionality-contains-operation/12025>\
**Category:** Need help\
**Created:** [March 31, 2017, 8:21pm UTC](https://forum.bubble.io/t/searching-functionality-contains-operation/12025 "2017-03-31T20:21:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![artemzheg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/artemzheg/32/9651_2.png) [@artemzheg](https://forum.bubble.io/u/artemzheg)\
**Post date:** [March 31, 2017, 8:21pm UTC](https://forum.bubble.io/t/searching-functionality-contains-operation/12025/1 "2017-03-31T20:21:25Z")

</div>

Hi, Bubblers.  
I’m working on a search functionality for my end-users.

I have a Thing called “Sports”. And several entries in DB for that thing: football, basketball, tennis, hockey, etc.  
On search page I have:

- input field,
- button to trigger a WF (send value from input field to repeating group),
- repeating group (to display results of a search).

What I want to achieve: search for all sports whose name contains value entered in Search input (full name or just a part of it).  
Example: user types “ball” and presses search button. In the repeating group all sports with “ball” (basketball, football) in their names should be displayed.

When I type in full name of a sport (football) - the search works and I can see football in my repeating group.  
When I type only “ball” - nothing is found (nor “football”, nor “basketball”)

The expression for data source of a repeating group is: **Do a search for a Sport where "sports\_name contains search\_input’s value"**  
So as I understand, “contains” operation should help us to look for Sport just by a part of a name.

Am I wrong?

**Updated**. Just found topic with the same question: [Searching Repeating Group with Wildcard](http://forum.bubble.io/t/searching-repeating-group-with-wildcard/1955)  
So, partial-word matching is not supported now.

---

<div class="post-metadata">

**Author:** ![blueback09](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/blueback09/32/7122_2.png) [@blueback09](https://forum.bubble.io/u/blueback09)\
**Post date:** [March 31, 2017, 9:39pm UTC](https://forum.bubble.io/t/searching-functionality-contains-operation/12025/2 "2017-03-31T21:39:57Z")

</div>

Maybe you could add a field for “tags” or partial words, then search that field. Like the sports thing could have a field for “football” and another field with “foot ball fot foo bal” and so on. That would help catch misspellings too.

---

<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:** [June 9, 2017, 8:27pm UTC](https://forum.bubble.io/t/searching-functionality-contains-operation/12025/3 "2017-06-09T20:27:21Z")

</div>

Closed on June 9, 2017, 8:27pm UTC

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