lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Index a time/date range
Date Thu, 31 Jul 2014 00:01:48 GMT
For fancier versions, some people used geo coordinates to represent start
on X axis and stop on Y. Then use perimeter bounds to do overlaps.

There was a discussion on the list about that a while ago.

Regards,
    Alex
On 31/07/2014 6:26 am, "Ryan Cutter" <ryancutter@gmail.com> wrote:

> Is there a way to index time or date ranges?  That is, assume 2 docs:
>
> #1: date = 2014-01-01
> #2: date = 2014-02-01 through 2014-05-01
>
> Would there be a way to index #2's date as a single field and have all the
> search options you usually get with time/date?
>
> One strategy could be to index the start and stop values separately.  Just
> wondering if there's a fancier option out there.
>
> Thanks, Ryan
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message