Apostrophe handling how to

hi all,

i am using acts_as_ferret plugin(0.4.1 Latest) with ferret gem(0.11.4
Latest)
on rails 1.2.5 and ruby 1.8.6(UBUNTU Gutsy)
i have this
:Product Model
acts_as_ferret :fields => {:name => { :boost => 2 ,:store => :yes},
:short_desc => { :boost => 1.5,:store =>
:yes },
:tag_list => {:boost => 1 },
:name_for_sort => {:index => :untokenized}
}

and i search using this code in my products controller

@products = Product.find_by_contents ‘’+params[:q]+’

i have a product with short name as “hank’s outlet”

when i search for hank i get the resultant product as expected.
but when i search with param as hank’s" or “hanks” —i dont get any
results.

how can i get this done. pls help
i have been trying to understand to use the analysers and tokenisers
but couldn’t get through

thanks
jags

hi all

i figured out that removing the wildcards around the param[:q]
i get

when searched for hank i get the results
hank and hank’s

when searched for hank’s i get the results
hank and hank’s ------here it is this was not working earlier(the
plurals search)

but now how do i get the results for searches with
han
ha

i get no results.i want all the results starting with ‘han’ or ‘ha’ here

pls help