Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usin SOLR NOW in LUWAK #177

Open
SOLR4189 opened this issue Aug 17, 2018 · 0 comments
Open

Usin SOLR NOW in LUWAK #177

SOLR4189 opened this issue Aug 17, 2018 · 0 comments

Comments

@SOLR4189
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant