Skip to content

Usin SOLR NOW in LUWAK #177

@SOLR4189

Description

@SOLR4189

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions