I had sort-by-date working almost perfectly with my app. It was  
behaving as expected for most data, but had a few hiccups with  
certain data. I investigated and discovered that the correct data was  
storing this in my ferret index: "1999-10-18 00:00:00" and the  
incorrect data was storing this: "Mon Oct 18 00:00:00 EDT  
1999"  (oops...)

So I of course had to fix the incorrect data, and I figured while i  
was at it, I would normalize and minimize everything to this format:  
"19991018000000".

Now it seems that sorting on this column does not work at all.

I have not changed how the data is stored in the index, it has always  
been:

:search_date  => {:term_vectors => :no, :index  
=> :untokenized, :store => :yes }

Any ideas?

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

Reply via email to