Re: Range Facet queries for date ranges with with non-constant gaps

2015-07-18 Thread JoeSmith
Thank you. That helped On Tue, Jul 14, 2015 at 5:02 PM, Chris Hostetter wrote: > > : Are there any examples/documentation for IntervalFaceting using dates > that > : I could refer to? > > You just specify the interval set start & end as properly formated date > values. This example shows some

Re: Range Facet queries for date ranges with with non-constant gaps

2015-07-14 Thread Chris Hostetter
: Are there any examples/documentation for IntervalFaceting using dates that : I could refer to? You just specify the interval set start & end as properly formated date values. This example shows some range faceting and interval faceting on the same field of the "bin/solr -e techproducts" exam

Re: Range Facet queries for date ranges with with non-constant gaps

2015-07-13 Thread JoeSmith
Are there any examples/documentation for IntervalFaceting using dates that I could refer to? On Mon, Jul 13, 2015 at 6:36 PM, Chris Hostetter wrote: > > : Some of the buckets return with a count of ‘0’ in the bucket even though > : the facet.range.min is set to ‘1’. That is not the primary issu

Re: Range Facet queries for date ranges with with non-constant gaps

2015-07-13 Thread Chris Hostetter
: Some of the buckets return with a count of ‘0’ in the bucket even though : the facet.range.min is set to ‘1’. That is not the primary issue facet.range.min has never been a supported (or documented) param -- you are most likeley trying to use "facet.mincount" (which can be specified per fi

RE: Range Facet queries for date ranges with with non-constant gaps

2015-07-13 Thread Reitzel, Charles
Try facet.mincount=1. It will still apply to range facets. -Original Message- From: JoeSmith [mailto:fidw...@gmail.com] Sent: Monday, July 13, 2015 5:56 PM To: solr-user Subject: Range Facet queries for date ranges with with non-constant gaps I am trying to do a range facet query

Range Facet queries for date ranges with with non-constant gaps

2015-07-13 Thread JoeSmith
I am trying to do a range facet query for on date ranges. The query below executes and returns results (almost) as desired for 60DAY buckets. http://localhost:8983/solr/mykeyspace2.user_data/select?wt=json&fq:id=7465033&q=*:*&rows=0&indent=true&facet=on&facet.range=log

Importing and indexing date ranges with Solr 5 DIH from Sql Server

2015-07-06 Thread Federico Colla
I've searched everywhere but still breaking my head on the wall... I'll explain quickly my situation: we have some items with 1:n (multiple) "availabilities" stored as IdObj, PeriodFrom and PeriodTo columns in a Sql Database table. we need to import items in Solr index and to filter them throug

Re: ComplexPhraseQuery and Date ranges

2014-08-14 Thread Erick Erickson
that code is relatively new in the code base, I know of nothing that has been done to make it work with date range queries. Sounds like a JIRA to me. Best, Erick On Thu, Aug 14, 2014 at 9:41 AM, Bryan Bende wrote: > Does anyone know if it is possible to get data ranges working with the > Complex

ComplexPhraseQuery and Date ranges

2014-08-14 Thread Bryan Bende
Does anyone know if it is possible to get data ranges working with the ComplexPhraseQueryParser? I'm using Solr 4.8.1 and seeing the same behavior described in this post: http://stackoverflow.com/questions/19402268/solr-4-2-1-and-solr-1604-complexphrase-and-date-range-queries-do-not-work-toge I

Re: Multipoint date ranges with spatial - Invalid Longitude Exception?

2013-08-12 Thread zonski
tp://www.packtpub.com/apache-solr-3-enterprise-search-server/book > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/Multipoint-date-ranges-with-spatial-Invalid-L

Re: Multipoint date ranges with spatial - Invalid Longitude Exception?

2013-08-12 Thread Smiley, David W.
Whoops; I copy'ed your error of using commas. I meant: Less clear: grantRoundDates:"Intersects(0 2013224 2014231 300)" More clear: grantRoundDates:["0 2013224" TO "2014231 300"] On 8/12/13 3:13 PM, "David Smiley (@MITRE.org)" wrote: > Less clear: grantRoundDates:"Intersects(0

Re: Multipoint date ranges with spatial - Invalid Longitude Exception?

2013-08-12 Thread David Smiley (@MITRE.org)
6.n3.nabble.com/Modeling-openinghours-using-multipoints-td4025336.html > > I've followed the steps and read through the linked articles but I can't > get past an exception: > > InvalidShapeException: Invalid longitude: longitudes are range > -180 to 180: provi

Multipoint date ranges with spatial - Invalid Longitude Exception?

2013-08-11 Thread zonski
st an exception: InvalidShapeException: Invalid longitude: longitudes are range -180 to 180: provided lon: [2013224.0] I am trying to model date ranges so a thing (in my case a grant that you can apply for) could be open open for a few months, then closes for a few months, and then re-opens, etc. I want to find all

Re: Pattern: Is there a method of resolving multivalued date ranges into a single document?

2012-01-06 Thread David Smiley (@MITRE.org)
se-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Pattern-Is-there-a-method-of-resolving-multivalued-date-ranges-into-a-single-document-tp3053882p3638031.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-09-05 Thread federico.wachs
Nobody? I don't have problem with the hours but I do have the same situation with dates where a document could be in many date ranges. Any suggestion? Please ! -- View this message in context: http://lucene.472066.n3.nabble.com/Pattern-Is-there-a-method-of-resolving-multivalued-date-ranges

Re: Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-09-03 Thread federico.wachs
I'm looking to implement something similar. Has anybody worked something out to work around this issue? Any guidance is greatly appreciated! Regards, Federico -- View this message in context: http://lucene.472066.n3.nabble.com/Pattern-Is-there-a-method-of-resolving-multivalued-date-r

Re: Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-06-11 Thread David Smiley (@MITRE.org)
-method-of-resolving-multivalued-date-ranges-into-a-single-document-tp3053882p3054714.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-06-11 Thread Michael Sokolov
10-09-23T2030:00:00Z My assumption is that I could then perform a wildcard date range search like ( type:film AND *_start:[ NOW TO * ] AND *_end:[NOW TO *] ) Using the attribute name "_start|end" as an indicator to the theater. However I do not think date ranges support th

Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-06-11 Thread Judioo
ot; as an indicator to the theater. However I do not think date ranges support this. Can ANYONE suggest a method to accomplish this with examples? Thank you in advance.

Re: Date ranges for indexes constructed outside Solr

2009-11-29 Thread Chris Hostetter
: I'm working on an application that will build indexes directly using the : Lucene API, but will expose them to clients using Solr. I'm seeing I would suggest that you use SOlr in "embedded" mode to build your indexes -- that way you can insure schema compatibility of the index generated with

Date ranges for indexes constructed outside Solr

2009-11-25 Thread Phil Hagelberg
I'm working on an application that will build indexes directly using the Lucene API, but will expose them to clients using Solr. I'm seeing plenty of documentation on how to support date range fields in Solr, but they all assume that you are inserting documents through Solr rather than merging alr

Re: Date ranges

2007-02-03 Thread Yonik Seeley
On 2/3/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : print c.search(q='a_dt:["2005-08-01T00:00:00Z" TO "2005-08-01T23:59:59Z"]') : : Note that without the quotes around the date in the range query, I get : an exception because the ':' causes the value to be truncated by the : queryparser. uh

Re: Date ranges

2007-02-03 Thread Michael Kimsal
Thanks Hoss - I'll give that a try - intuitively that sounds like it'll work (I'm still new to this - it's not second nature to me just yet!) On 2/3/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : However, when I run the following search : foobar date:[2005-08-01T00:00:00Z TO 2005-08-01T23:59

Re: Date ranges

2007-02-02 Thread Chris Hostetter
: print c.search(q='a_dt:["2005-08-01T00:00:00Z" TO "2005-08-01T23:59:59Z"]') : : Note that without the quotes around the date in the range query, I get : an exception because the ':' causes the value to be truncated by the : queryparser. uhh... i'm not sure what you're talking about dude ... it

Re: Date ranges

2007-02-02 Thread Chris Hostetter
: However, when I run the following search : foobar date:[2005-08-01T00:00:00Z TO 2005-08-01T23:59:59Z] : I get values back that do not have a date value in the 08/01/2005 range. unless you changed somethine else to mkae queries default to "all clauses mandatroy" (aka: and "AND" query) that's se

Re: Date ranges

2007-02-02 Thread Edward Summers
On Feb 2, 2007, at 11:36 PM, Erik Hatcher wrote: It also provides a specific scope for a connection, rather than it being possible for it to leak out (as an instance variable could). It hides the details of the Connection constructor also (maybe to cache instanced keyed by Solr URL?). Yea

Re: Date ranges

2007-02-02 Thread Erik Hatcher
On Feb 2, 2007, at 11:22 PM, Edward Summers wrote: On Feb 2, 2007, at 10:51 PM, Erik Hatcher wrote: Ruby experts - know how I can code Solr::Connection to work like this without an explicit method? (I'm still a Ruby newbie) What purpose does this block passing serve? Well, first and forem

Re: Date ranges

2007-02-02 Thread Edward Summers
On Feb 2, 2007, at 10:51 PM, Erik Hatcher wrote: Ruby experts - know how I can code Solr::Connection to work like this without an explicit method? (I'm still a Ruby newbie) What purpose does this block passing serve? //Ed

Re: Date ranges

2007-02-02 Thread Erik Hatcher
On Feb 2, 2007, at 5:29 PM, Yonik Seeley wrote: On 2/2/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: I'm having a devil of a time getting date seaching to work properly. I've created a 'date' field in my schema, and I put values like "2005-08-01T23:59:59Z" in it. However, when I run the fol

Re: Date ranges

2007-02-02 Thread Yonik Seeley
On 2/2/07, Michael Kimsal <[EMAIL PROTECTED]> wrote: I'm having a devil of a time getting date seaching to work properly. I've created a 'date' field in my schema, and I put values like "2005-08-01T23:59:59Z" in it. However, when I run the following search foobar date:[2005-08-01T00:00:00Z TO 2

Date ranges

2007-02-02 Thread Michael Kimsal
I'm having a devil of a time getting date seaching to work properly. I've created a 'date' field in my schema, and I put values like "2005-08-01T23:59:59Z" in it. However, when I run the following search foobar date:[2005-08-01T00:00:00Z TO 2005-08-01T23:59:59Z] I get values back that do not h