problem related with ferret


i have to implement search in my app. for this is use ferret search engine. i use Image.find_by_contents query here Image is my model the search is work fine.

but i want to search every word like in the description field i have a sentence as “arun agrawal is a good boy” and the another one is “arun is a boy”

with the above search when i search for “arun” i got both the result but when i write “arun agrawal” i got the first result only.

but the second description also contain the word arun

but it can’t searchable.

Please help me out.