I've read that RediSearch has support for dates and times via the "numeric" type, but there's not much information about this. Does this mean I just choose my own conversion from time, such as seconds since 1970?
How to store dates/times in RediSearch
1.3k Views Asked by mahemoff At
1
There are 1 best solutions below
Related Questions in DATE
- PLSQL Need REFCURSOR DATE + TIME
- Pandas date ranges and averaging the counts
- javascript date validation to check whether it exceeds exactly next year's date
- How to INSERT date in PHP & Mysqli
- Create a list of sequential monthly dates in PHP given initial date and quantity
- Date parse with Timezone - Android
- RAILS: date_select validation
- Having trouble writing a calendar, I couldn't find a detailed guide answering my questions anywhere
- Julian Date Conversion SQL
- SQL find out how many days into year date is
- Algorithm to find the Gregorian date of the Chinese New Year of a certain Gregorian year
- Angularjs, date input : enter a date manually with a specific format
- How to convert a Microsoft SQL date to a vba string?
- Why does new java.text.SimpleDateFormat("EEEE").format(new java.util.Date(2015, 6, 9)) return the wrong day of the week?
- SQL Column Numeric to DATE
Related Questions in REDIS
- start redis with supervisor
- How to do Mass insertion in Redis using JAVA?
- RedisResponseException: Unknown reply on multi-request
- Redis / Get all keys & values from redis with prefix
- Remove a member from multiple sets in Redis
- Using memcached or Redis on aws-elasticache
- Get Socket Object by Id with node, redis-adapter and socket.io
- how can i save a complex json as string in redis and retrieve it as unescaped legit json object
- How to specify versions on PIP when installing a python package with it's dependencies
- Eloquent model for Redis
- Is exists check required before calling StringSet method of StrackExchange.Redis
- Predis: Pros and Cons of the two cluster strategies
- hmset redis with result from mysqlDB
- does redis cluster support transactions ?
- How change redis to be persistent
Related Questions in NUMBERS
- How i can get the numbers on the left and the right of the given element?
- PHP Allow only numbers with 2 decimals
- How do you use a range of numbers in an if statement in livecode?
- How can we decide the total no. of buckets for a hive table
- PHP Convert cents to dollars
- Random Numbers Generator based on Current Time and Birth Date
- Want to format numbers greater than 20 digits in java?
- Regex not matching 6 repeated numbers
- in c#, how to independently guarantee that two machines will not net generate the same random number?
- How to round a number up and add numeric punctuation
- Go float64 does not work for latitude and longitude
- Getting NaN Instead of Number
- Regexes for validating & formatting numbers with different decimal delimiters
- AlassetsGroup Returning wrong number of assets
- Read from file negative numbers C++
Related Questions in REDISEARCH
- How to retrieve data from RediSearch with Rust?
- Cannot create vector index in redis
- Redisearch full text index not working with Python client
- Range query in Redisearch with Python client
- Redis Redisearch Aggregate GroupBy multiple column
- How can we perform "Prefix Matching" in Redisearch over numbers?
- Redisearch, how to make it search faster?
- rediSearch Cannot create index on db != 0?
- How to get all the documents from an index in Redisearch?
- Redis issue on module-redis-fork
- Trying to run redisearch-go client example and wont compile
- Using RediSearch: Module Disabled in Open Source Redis
- How to run RediSearch module with Redis on WSL (Windows Subsystem for Linux)
- How to store dates/times in RediSearch
- Request specific fields (not all fields) with RediSearch
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yep, exactly that (a.k.a epoch and timestamp).
You can also define your own epoch and timestamp resolution if you want, like "days since January 1 2018", as long as you convert to and from real times.
Also, the aggregation API has a bunch of functions augmenting dealing with timestamps. See https://oss.redislabs.com/redisearch/Aggregations/#list%22_%22of%22_%22datetime%22_%22apply%22_%22functions