I tried sorting the search results in Ferret::Index::Index#search and
what I found was that the sort is applied not to the whole search but to
the returned results. 

Suppose I have these results:

Text - Num

foo - 2
bar - 3
far - 4
boo - 1

If I limit the search to the first two and sort by num I get:

foo - 2
bar - 3

while I think the natural behaviour would be:

boo - 1
foo - 2

Is this intended or a bug?

Greetings,

Pedro.

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to