Re: Problem with numeric range query syntax in lucene 4.4.0

2014-03-20 Thread Matthew Petersen
Thanks for the response. I had seen references to this explanation in other areas but for older versions and was hoping it changed in 4.4. I guess since it's schema-less it really can't be fixed for the masses and must be fixed through customization. Thanks again, Matt On Thu, Mar 20, 2014 at

RE: Problem with numeric range query syntax in lucene 4.4.0

2014-03-20 Thread Uwe Schindler
Hi, Lucene is schema-less. Because of that QueryParser cannot handle numeric fields out of the box, because it cannot know what fields are numeric. Because of this it just creates a TermRangeQuery which will never hit any documents of a field indexed as LongField. You can directly use NumericRa