On 7/15/06, David Balmain <[EMAIL PROTECTED]> wrote:
> To force it to use the pure ruby version require 'rferret' instead of
> 'ferret'. Alternatively (I should have mentioned this the first time)
> you can use a QueryFilter. For example;
>
> filter = QueryFilter.new(TermQuery.new(Term.new("subject", "sport")))
>
> You should be able to build pretty much any filter you need just like
> that. Hope that helps.
>
> Cheers,
> Dave
>
> PS: The fix can't be checked out of svn yet. I still have a lot of
> work to do. Sorry.
> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk
>
Don't apologize man, you've done an exceptional job with it so far.
The filter I was trying to add would filter based on location, so I'm
not sure that It could be done easily using a query-filter. It takes a
latitude, longitude, and radius, then filters for records that are
with the radius...think that's doable with the builtin filters? I
guess I could do it with a bounding box instead, but I'd prefer to
keep it accurate...Anyways, I'll try the rferret route for now, and
hopefully by the time this application goes to production, the c
version will be fixed up. Thanks for your help.
--
Cheers,
Jordan Frank
[EMAIL PROTECTED]
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk