lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Cutter <ryancut...@gmail.com>
Subject Re: Index a time/date range
Date Thu, 31 Jul 2014 14:59:54 GMT
Great resources, thanks everyone!


On Wed, Jul 30, 2014 at 8:12 PM, david.w.smiley@gmail.com <
david.w.smiley@gmail.com> wrote:

> The wiki page on the technique cleans up some small errors from Hoss’s
> presentation:
> http://wiki.apache.org/solr/SpatialForTimeDurations
>
> But please try Solr trunk which has first-class support for date durations:
> https://issues.apache.org/jira/browse/SOLR-6103
> Soonish I’ll back-port to 4x.
>
> ~ David Smiley
> Freelance Apache Lucene/Solr Search Consultant/Developer
> http://www.linkedin.com/in/davidwsmiley
>
>
> On Wed, Jul 30, 2014 at 7:29 PM, Jost Baron <jost.baron@gmx.de> wrote:
>
>> -----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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message