I need to build a search that compare parts of the sentence used and find entities that has this words.
Example text of entity:
1º - nigeria java shopia ção mormaii da ACQUA Preto Fosco
The search should to find entities that has this words, independently on the sequence in which they are in the sentence.
if I try to search with sentence "nigeria hibernate" for example, with this words couldnt get any result. The word "hibernate" no has matching with the text of entity.
Another hand, i try to search "nigeria shopia", the search should get one result. Because the text of entity has the words "nigeria" and "shopia".
I try to build using the method keyword(), but this mode use every word of the sentence.
This mode, the text of entity should be in order of value used.