I’m having a bit a trouble getting some search terms to work with
acts_as_ferret. Particulary where multiple words are in the query. For
instance if I search for “Time to Kill” it doesn’t find the any records.
However, if I search just for time, Time to Kill comes up.
I should also add that some multiple word queries do work, and I haven’t
been able to spot any pattern there.
Thanks again.
Guest wrote:
I’m having a bit a trouble getting some search terms to work with
acts_as_ferret. Particulary where multiple words are in the query. For
instance if I search for “Time to Kill” it doesn’t find the any records.
However, if I search just for time, Time to Kill comes up.
Do you use a special analyzer for indexing/searching ?
A possible explanation might be that at indexing time the
‘to’ is stripped away as being not a relevant term, but at
searching time it isn’t. As aaf ANDs query terms together by default,
you then won’t get a hit.
What does the parsed query look like if you search via aaf (queries
should get logged in development.log) ?
Jens
On Mon, Jul 24, 2006 at 07:33:28PM +0200, Guest wrote: