lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jost Baron <jost.ba...@gmx.de>
Subject Re: Index a time/date range
Date Wed, 30 Jul 2014 23:29:34 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ryan,

On 07/31/2014 01:26 AM, Ryan Cutter 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.

Take a look at this:

https://people.apache.org/~hossman/spatial-for-non-spatial-meetup-20130117/

Regards,
Jost


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlPZf94ACgkQNme/yCvmvTIp9ACfeuKfCRFuGY/Y2aLH6BxtkS+c
kNMAoIcWFuJnnwV8ouajvTUXojR6HiTo
=EKfo
-----END PGP SIGNATURE-----

Mime
View raw message