Re: range types in SOLR

2014-05-15 Thread Ere Maijala
David, thanks, looking forward to LUCENE-5648. I added a comment about supporting BC dates. We currently use the spatial support to index date ranges with a precision of one day, ranging from year - to . Just for the record, I had some issues converting bounding box Intersects

Re: range types in SOLR

2014-05-06 Thread Ere Maijala
David, I made a note about your mentioning the deprecation below to take it into account in our software, but now that I tried to find out more about this I ran into some confusion since the Solr documentation regarding spatial searches is currently quite badly scattered and partly obsolete

Re: range types in SOLR

2014-05-06 Thread david.w.smi...@gmail.com
Hi Era, I appreciate the scattered documentation is confusing for users. The use of spatial for time durations is definitely not an official way to do it; it’s clearly a hack/trick — one that works pretty well if you know the issues to watch out for. So I don’t see it getting documented on the

Re: range types in SOLR

2014-03-03 Thread Smiley, David W.
The main reference for this approach is here: http://wiki.apache.org/solr/SpatialForTimeDurations Hoss’s illustrations he developed for the meetup presentation are great. However, there are bugs in the instruction — specifically it’s important to slightly buffer the query and choose an

Re: range types in SOLR

2014-03-03 Thread Thomas Scheffler
Am 03.03.2014 19:12, schrieb Smiley, David W.: The main reference for this approach is here: http://wiki.apache.org/solr/SpatialForTimeDurations Hoss’s illustrations he developed for the meetup presentation are great. However, there are bugs in the instruction — specifically it’s important to

range types in SOLR

2014-03-01 Thread Thomas Scheffler
Hi, I am in the need of range types in SOLR - similar to PostgreSQL: https://wiki.postgresql.org/images/7/73/Range-types-pgopen-2012.pdf My schema should allow approximate dates and queries on that. When having a single such date per document one can split this information into two separate

Re: range types in SOLR

2014-03-01 Thread Erick Erickson
, 2014 at 6:19 AM, Thomas Scheffler thomas.scheff...@uni-jena.de wrote: Hi, I am in the need of range types in SOLR - similar to PostgreSQL: https://wiki.postgresql.org/images/7/73/Range-types-pgopen-2012.pdf My schema should allow approximate dates and queries on that. When having a single

Re: range types in SOLR

2014-03-01 Thread Thomas Scheffler
Am 01.03.14 18:24, schrieb Erick Erickson: I'm not clear what you're really after here. Solr certainly supports ranges, things like time:[* TO date_spec] or date_field:[date_spec TO date_spec] etc. There's also a really creative use of spatial (of all things) to, say answer questions

Re: range types in SOLR

2014-03-01 Thread Raymond Wiker
Looks like you might be able to use sub-documents (or whatever it is called in SOLR) for this; create the parent document without any dates, and a child document for each date range. On 01 Mar 2014, at 19:41 , Thomas Scheffler thomas.scheff...@uni-jena.de wrote: Am 01.03.14 18:24, schrieb

Re: range types in SOLR

2014-03-01 Thread Shawn Heisey
On 3/1/2014 11:41 AM, Thomas Scheffler wrote: Am 01.03.14 18:24, schrieb Erick Erickson: I'm not clear what you're really after here. Solr certainly supports ranges, things like time:[* TO date_spec] or date_field:[date_spec TO date_spec] etc. There's also a really creative use of spatial

Re: range types in SOLR

2014-03-01 Thread Erick Erickson
Right, thanks Shawn for looking up the URLs. That's exactly what I was thinking of. Erick On Sat, Mar 1, 2014 at 11:54 AM, Shawn Heisey s...@elyograg.org wrote: On 3/1/2014 11:41 AM, Thomas Scheffler wrote: Am 01.03.14 18:24, schrieb Erick Erickson: I'm not clear what you're really after