RE: Modeling openinghours using multipoints

2012-12-10 Thread David Smiley (@MITRE.org)
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 bit map of hours

RE: Modeling openinghours using multipoints

2012-12-10 Thread David Smiley (@MITRE.org)
.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 [hidden email]UrlBlockedError.aspx написал

Re: Modeling openinghours using multipoints

2012-12-10 Thread Lance Norskog
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]UrlBlockedError.aspx

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 gbr...@gmail.com wrote: Brilliant! Got some great ideas for this. Indeed all sorts of usecases which use multiple temporal ranges could benefit.. Eg: Another Guy on

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 erickerick...@gmail.com wrote: Thanks for the discussion, I've added this to my bag of tricks, way cool!

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 goks...@gmail.com написал: 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?

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

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 like a small

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