Can anybody guide me how to Display all the matching data in repeating group which matches each word typed in the sentence of input element?
For example:-
if i type “cancer deaths in last century” in my input element
then my repeating group should display all the results from my database which contains the words
cancer, deaths, in, last, century
Hi there, @mdburhan3… have you ever come across this thread? It should help with regard to understanding how contains keywords works and how it differs from contains. I’m not sure what you mean when you say contains keywords doesn’t work, but it obviously isn’t returning the results you are expecting, and maybe that thread can help you understand why.
Hi @mikeloc
Thanks for the thread (I checked it out just now, it clears my confusion between “contains” & “contains keyword”)
I think i need to elaborate more
I have a table called “Dataset” in which there is one field called “Title”
I have an input element where i typed "cancer deaths in last century"
Then in my repeating group i want to display all the titles which contains the word “cancer”
or “deaths” or “last” or “century”
the results i want to get is
2Oth century cancer data
breast cancer
last man on earth
last year cancer deaths
cancer + covid undetectable
As you can see titles in my database contains atleast one word from the input “cancer deaths in last century”
@mikeloc yes
But when i use “contains keyword” it doesn’t care for case sensitive…
In short, what i am trying is to display results like google search
Whatever you type in google it gives you more than 1 search results (related to your typed input)
My understanding is that contains and contains keywords are both case-sensitive, but if you’re sure it’s not related to that, you might want to contact Bubble support so they can dig into the data and searches with you to see if there is an issue here.
I think @mikeloc has a point. Might be jumping back in a bit late here but to eliminate any possibility that the case sensitivity is a factor to your issue (both with “contains” and “contains keyword”), use a filter defined in arbitrary text, and confront the input value:uppercase to the data values:uppercase. Or lowercase for both if you so prefer. The important thing is to have the same baseline.