ibm-watson-data-lab / cognitive-event-finder

Web-based chatbot for finding events/sessions at conferences
https://cognitive-event-finder.mybluemix.net/
Apache License 2.0
10 stars 0 forks source link

Make sure search is only for the current day #9

Closed isc-rsingh closed 7 years ago

isc-rsingh commented 7 years ago

and doesn't include events already over

markwatsonatx commented 7 years ago

This has been fixed and is configurable with a number of environment variables:

WARP_TIME_HOURS=96: Allows you to test from a point in time in the future. For example, if this is set to 96 then the start of the time window will be the current time + 96 hours.

SEARCH_TIME_HOURS=8: The end of the time window. The start of the time window is current time + WARP_TIME_HOURS

MAX_SEARCH_TIME_HOURS=248: If no results are found in a time window the system will double the time window until results or found, or the time window exceeds this value.

isc-rsingh commented 7 years ago

Excellent stuff