I did it. I configured it to work with PostgreSQL.

has "CAST(TO_CHAR(date_field, 'YYYYMMDD') as INTEGER)", :type
=> :integer, :as => :date_field
group_by "date_field"

These two configurations are needed inside the 'define_index' block.

Hope it helps someone :)

Thank you Pat!

--
Murilo Soares Pereira
http://www.comp.ufscar.br/~murilo

--

You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.


Reply via email to