On 7/16/06, Jordan Frank <[EMAIL PROTECTED]> wrote:
> On 7/15/06, David Balmain <[EMAIL PROTECTED]> wrote:
> > Hi Jordan,
> > This is a bug which needs to be fixed. Please wait for the next
> > version of Ferret. Or you could use the pure ruby version.
> >
> > Cheers,
> > Dave
> > _______________________________________________
> > Ferret-talk mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/ferret-talk
> >
>
> Oh, really...darn, it was kind of important. How do I force it to use
> the pure ruby version? How long until the next version? Is it a
> complicated fix or is it fixed in a version that I could access (SVN
> or something)?
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