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
> give > >> > > it multiple values and it will work correctly; this is one of RPT's > >> main > >> > > features that set it apart from Solr 3 spatial. To query for a > >> business > >> > > that is open during at least so

Re: Modeling openinghours using multipoints

2012-12-09 Thread Lance Norskog
ial. To query for a >> business >> > > that is open during at least some part of a given time duration, say >> 6-8 >> > > o'clock, the query would look like openDuration:"Intersects(minX minY >> maxX >> > > maxY)" and put

Re: Modeling openinghours using multipoints

2012-12-09 Thread Erick Erickson
t; > > (end time), and the largest possible value for maxY. You wouldn't > actually > > > use 6 & 8, you'd use the number of 15 minute intervals since your > epoch for > > > this equivalent time span. > > > > > > You'll need to confi

Re: Modeling openinghours using multipoints

2012-12-08 Thread britske
eed to configure the field correctly: geo="false" worldBounds="0 0 > > maxTime maxTime" substituting an appropriate value for maxTime based on > > your unit of time (number of 15 minute intervals you need) and > > distErrPct="0" (full precision). &g

Re: Modeling openinghours using multipoints

2012-12-08 Thread David Smiley (@MITRE.org)
span. >> >> You'll need to configure the field correctly: geo="false" worldBounds="0 >> 0 >> maxTime maxTime" substituting an appropriate value for maxTime based on >> your unit of time (number of 15 minute intervals you need) and >> dist

Re: Modeling openinghours using multipoints

2012-12-08 Thread David Smiley (@MITRE.org)
ion). Let me know how this works for you. ~ David - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Modeling-openinghours-using-multipoints-tp4025336p4025359.html Sent from the Solr - User mailing list archive at Nabble.com.

Modeling openinghours using multipoints

2012-12-08 Thread britske
s simply mapping 9600 intervals (100*24*4) both for open and close onto [-90,90] and [0,180] respectively. -- View this message in context: http://lucene.472066.n3.nabble.com/Modeling-openinghours-using-multipoints-tp4025336.html Sent from the Solr - User mailing list archive at Nabble.com.