... additionally, I noticed that prefixing the query term with *:
'solves' the problem.

So,
  Person.find_by_contents "zixi"        -> NO RESULT  : WRONG

but
  Person.find_by_contents "*:zixi"      -> 1 RESULT  : CORRECT
  Person.find_by_contents "extra:zixi"  -> 1 RESULT  : CORRECT


This hack would get trickier to implement on queries like :
  (a OR B) c name:d
so I'd rather do it the right way.

Why does this happen : bug, or feature?


Alain
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to