Forum: Ferret Are document boost and sort incompatible?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7b74ccf93dde7dd2ac5d2980d14fdc7b?d=identicon&s=25 Paul Lynch (plynchnlm)
on 2009-03-10 18:28
I am using document boosting (following Jens' suggestion here: but am also trying to sort the
returned results, so I was using the :sort option.  In my testing, using
a wildcard search, it appears that using the :sort option causes Ferret
to ignore document boosts and just return the first N hits it finds by
looking alphabetically.  Is that the expected behavior?  If I want the N
most relevant documents, do I need to sort them myself after getting
them from Ferret?

C9dd93aa135988cabf9183d3210665ca?d=identicon&s=25 Jens Krämer (Guest)
on 2009-03-10 19:33
(Received via mailing list)
Hi Paul,

I think your assumption is correct - Ferret by default sorts by score,
and by specifying an alternative sorting you replace that default
sorting with something else.


On 10.03.2009, at 18:28, Paul Lynch wrote:

> them from Ferret?
> Thanks,
>  --Paul
> --
> Posted via
> _______________________________________________
> Ferret-talk mailing list

Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49351467660 | Telefax +493514676666 |

Amtsgericht Dresden | HRB 15422
GF Sven Haubold
This topic is locked and can not be replied to.