Hi,

In my application I use that way of searching:

Product.search(:with => {:cost => 1.5..5.5})

After upgrading to newest thinking sphinx, it stopped working
(previously I used really old sphinx, it was vendored in vendor/
plugins and almost never updated). I have created simple application
with one model to check that:

class Product < ActiveRecord::Base
  define_index do
    indexes :title
    has :cost
    has :position
  end
end

cost is decimal field and position is integer. Searching for cost
using ranges always returns 0 results. Searching for position works
great.

Is there anything that I should change after upgrade to make it work?

-- 
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