[Ferret-talk] acts_as_ferret: can i specify a search on 1 field as suppose

David Balmain dbalmain.ml at gmail.com
Mon Oct 16 10:18:41 EDT 2006


On 10/16/06, poipu <none at none.com> wrote:
> to the ones i defined in my model? for example if in the model i specify
> acts_as_ferret to index only column 1, 2, and 3 in my table....how can i
> perform a search just for column 1 if need be.
>
> for example, id like to give the user the ability to just search on
> title name vs description, etc...
>
>
> thanks!

You prepend the search with the field-name and a colon. For example:

    title:"War and Peace" author:(Leo Tolstoy)

Hope that helps,
Dave


More information about the Ferret-talk mailing list