Hi Everyone!

We doing some nice stuff with Chef (http://wiki.opscode.com/display/chef/Home). 
 It uses solr for search but range queries don't work as expected. Maybe chef, 
solr just buggy or I am doing it wrong ;-)

In chef I have bunch of nodes witch timestamp attribute. Now want search nodes 
with have timestamp not older than on hour:

search(:node, "role:JSlave AND ohai_time:[NOW-1HOUR TO *]")

Is this string in the call a solr compliant range expression at all? Unluckily, 
 I have no toys at hand to verify this myself at the moment... but I work on 
this.

Thanks for reading! ^^

Kind Regards,

Christian Bordis

Reply via email to