Re: Modeling openinghours using multipoints

2012-12-10 Thread Lance Norskog
2012 6:35 PM To: Smiley, David W. Subject: Re: Modeling openinghours using multipoints If these are not raw times, but quantized on-the-hour, would it be faster to create a bit map of hours and then query across the bit maps? On Sun, Dec 9, 2012 at 8:06 AM, Erick Erickson <[hidden email]>

RE: Modeling openinghours using multipoints

2012-12-10 Thread David Smiley (@MITRE.org)
a Lucene] [ml-node+s472066n4025602...@n3.nabble.com] Sent: Monday, December 10, 2012 12:15 AM To: Smiley, David W. Subject: Re: Modeling openinghours using multipoints Colleagues, What are benefits of this approach at contrast to block join? Thanks 10.12.2012 3:35 пользователь "Lance Norskog"

RE: Modeling openinghours using multipoints

2012-12-10 Thread David Smiley (@MITRE.org)
s part. ~ David From: Lance Norskog-2 [via Lucene] [ml-node+s472066n4025579...@n3.nabble.com] Sent: Sunday, December 09, 2012 6:35 PM To: Smiley, David W. Subject: Re: Modeling openinghours using multipoints If these are not raw times, but quantized on-the-hour, would it be faster to create a b

Re: Modeling openinghours using multipoints

2012-12-09 Thread Mikhail Khludnev
Colleagues, What are benefits of this approach at contrast to block join? Thanks 10.12.2012 3:35 пользователь "Lance Norskog" написал: > If these are not raw times, but quantized on-the-hour, would it be > faster to create a bit map of hours and then query across the bit > maps? > > On Sun, Dec

Re: Modeling openinghours using multipoints

2012-12-09 Thread Lance Norskog
If these are not raw times, but quantized on-the-hour, would it be faster to create a bit map of hours and then query across the bit maps? On Sun, Dec 9, 2012 at 8:06 AM, Erick Erickson wrote: > Thanks for the discussion, I've added this to my bag of tricks, way cool! > > Erick > > > On Sat, Dec

Re: Modeling openinghours using multipoints

2012-12-09 Thread Erick Erickson
Thanks for the discussion, I've added this to my bag of tricks, way cool! Erick On Sat, Dec 8, 2012 at 10:52 PM, britske wrote: > Brilliant! Got some great ideas for this. Indeed all sorts of usecases > which use multiple temporal ranges could benefit.. > > Eg: Another Guy on stackoverflow ask

Re: Modeling openinghours using multipoints

2012-12-08 Thread britske
Brilliant! Got some great ideas for this. Indeed all sorts of usecases which use multiple temporal ranges could benefit.. Eg: Another Guy on stackoverflow asked me about this some days ago.. He wants to model multiple temporary offers per product (free shopping for christmas, 20% discount for

Re: Modeling openinghours using multipoints

2012-12-08 Thread David Smiley (@MITRE.org)
britske wrote > That's seriously awesome! > > Some change in the query though: > You described: "To query for a business that is open during at least some > part of a given time duration" > I want "To query for a business that is open during at least the entire > given time duration". > > Feels l

Re: Modeling openinghours using multipoints

2012-12-08 Thread David Smiley (@MITRE.org)
Hello again Geert-Jan! What you're trying to do is indeed possible with Solr 4 out of the box. Other terminology people use for this is multi-value time duration. This creative solution is a pure application of spatial without the geospatial notion -- we're not using an earth or other sphere mod