Hey ..

maybe someone got a hint for me ..  I've got a
problem with the sorting of search results ..
strangely enough, the sorting is fine on my mac
development environment, but not okay on my
linux live system.

I got a field in my index called hierarchy. It
contains long strings like:

Living together > Family > Brother-In-Law
Living together > Family > Marriage > Wife
Language and Communication > Language > Language Family > Finnish

Now i want the results to be sorted by that
hierarchy field, but it seems to be sorted
randomly .. i tried both :sort => "hierarchy"
as well as

:sort => SortField.new(:hierarchy, :type => :string)


i get differently sorted results, using the SortField
or the string parameter, but neither are in the
correct order. As i said, the sorting on my local
development machine is fine, it's sorted the
way i would expect it ..

I use ferret 0.11.4 with ruby 1.8.5 on both machines.

anyone got an idea or similar problems?

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

Reply via email to