Re: Strange results from numerical range query in Riak Search

2011-04-05 Thread Mathias Meyer
Mike, you need to make sure the followers field is marked as a numeric field in the bucket's schema in Riak Search. You can do that by either relying on the default schema and appending _num to the field name, so it'd be followers_num instead of followers in the JSON you're generating. Or you

Strange results from numerical range query in Riak Search

2011-04-04 Thread Mike Stoddart
I'm installing the lakes/celtics twitter data linked through Basho's site. I can get some basic text searches to work, but I'm seeing some weird results from numerical range queries: search_query = client.search('stuff', 'followers:[140 TO 150]') Name:Kevin Shpunt Term:lakers Followers:146 Name:C