lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Bende <bbe...@gmail.com>
Subject ComplexPhraseQuery and Date ranges
Date Thu, 14 Aug 2014 16:41:59 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message