Re: Index a time/date range

2014-07-31 Thread Ryan Cutter
Great resources, thanks everyone! On Wed, Jul 30, 2014 at 8:12 PM, david.w.smi...@gmail.com < david.w.smi...@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 tr

Re: Index a time/date range

2014-07-30 Thread david.w.smi...@gmail.com
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. ~ Davi

Re: Index a time/date range

2014-07-30 Thread Jost Baron
-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

Re: Index a time/date range

2014-07-30 Thread Alexandre Rafalovitch
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" wrote: > Is there a way to index time or

Index a time/date range

2014-07-30 Thread Ryan Cutter
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