You caught me at a good time, and the problem isn't too complex. It looks like you're using Sphinx 0.9.8 - if you want to use 64bit integers, you'll need to use Sphinx 0.9.9 instead - try that, and Thinking Sphinx/Riddle should automatically play nicely with filters using integers greater than 2^32.
If I'm wrong, let me know and we can investigate further :) -- Pat On 28/12/2009, at 5:08 PM, Nugroho Herucahyono wrote: > Hi Pat, > > Thanks for the extremely quick response :) > > it's integer > > this is the trace > > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client/message.rb:26:in > `pack' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client/message.rb:26:in > `append_int' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client/message.rb:44:in > `append_ints' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client/message.rb:44:in > `each' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client/message.rb:44:in > `append_ints' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client/filter.rb:43:in > `append_integer_range' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client/filter.rb:28:in > `query_message' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client.rb:613:in > `query_message' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client.rb:613:in `each' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client.rb:613:in > `query_message' > /usr/lib/ruby/gems/1.8/gems/riddle-1.0.8/lib/riddle/client.rb:309:in `query' > /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/thinking_sphinx/search.rb:258:in > `populate' > /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' > /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/thinking_sphinx/search.rb:257:in > `populate' > /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/thinking_sphinx/search.rb:380:in > `call' > /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/thinking_sphinx/search.rb:380:in > `retry_on_stale_index' > /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/thinking_sphinx/search.rb:254:in > `populate' > /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/thinking_sphinx/search.rb:173:in > `total_pages' > > On Mon, Dec 28, 2009 at 1:02 PM, Pat Allan <[email protected]> wrote: >> Hi Nugroho >> >> What's the data type of the attribute you're filtering on - float, or >> integer? >> >> If it's a float, make sure you're passing in floats to the range, instead of >> integers. If it's an integer, then let me know what the stacktrace is, >> although there might be an upper limit of 2^32. >> >> -- >> Pat >> > > -- > > 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. > > -- 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.
