[Ferret-talk] Find fields beginning with?

Mattias Bodlund mattias at oncotype.dk
Fri Jun 27 08:23:39 EDT 2008


Dens't anyone have some thoughts on this?


On 24/06/2008, at 11.33, Mattias Bodlund wrote:

> Is it possible to search for fields that start with a word or phrase?
>
> Lets say I have the following fields:
>
> 1 mooning
> 2 moon landing
> 3 landing on the moon
>
> Then I would like to be able to only get
>
> The result I would like to get is:
>
> 1 and 2 if I search for moon
> only 2 if I search for moon landing or moon land
> only 3 if I search for landing
>
> Is it possible with ferret or would a simple SQL query do this better?
>
> Cheers
> Mattias
>
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk



More information about the Ferret-talk mailing list