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 <bbe...@gmail.com> wrote: > 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 don't know much about the query parsing code in Solr/Lucene, but from > looking at ComplexPhraseQueryParser... it overrides getRangeQuery(...) but > then calls suprer.getRangeQuery(..) which calls the getRangeQuery() from > QueryParserBase that looks like it has logic regarding dates, but it > doesn't seem to pick up any results when the query has a date range in it.