How can I store a date-range in solr?
I need to store the start-date and the end-date.
Lets say it is a villa which is for rent during a period (start and end).
I must use two fields right?
In the search the user may chose start-date and end-date, so when querying solr I think I could use something like:
date:[$start TO $end]
But this only queries one field, which is good but storing the date-range is my problem.
Hmmmmm.
Any help?
Thanks