Usin SOLR NOW in LUWAK
SOLR4189 opened this issue · 0 comments
SOLR4189 commented
How can I add solr query with NOW to LUWAK monitor?
Let's say in 11:40 I saved query: q=timestamp:[NOW/HOUR-1HOUR TO NOW/HOUR+1HOUR] into LUWAK monitor, but in LUWAK it will be saved in lucene format q=timestamp:[11:00:00 TO 12:00:00] (in truth it will be saved in unix timestamp, but for readability I wrote in human read format). Simple put, this query is relevant until 12:00:00. But after 12:00:00 this query has to change to q=timestamp:[12:00:00 TO 13:00:00], but in LUWAK it will not happen. So, what can I do in this situation? Update this query every hour by myself or maybe LUWAK has some mechanism for dynamic queries?