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.

Reply via email to