Hello, I have a range query like this... TYPE:DOCUMENT AND docSize:[0 TO 1048576]
I'm using the MultiFieldQueryParser and when I call Rewrite on this I get back the following text... +TYPE:document +ConstantScore(QueryWrapperFilter()) This text will not return any results and I am not sure where the QueryWrapperFilter() portion of text has come from. It has something to do with the 1048576 value and similar values. If I search using TYPE:DOCUMENT AND docSize:[0 TO 500] the rewrite will generate a query that works... +TYPE:document +ConstantScore(docSize:[0 TO 500]) Can anyone shed some light on why this is happening and how to avoid it? Thanks, JP -- View this message in context: http://lucene.472066.n3.nabble.com/Range-query-rewrite-incorrect-tp2710807p2710807.html Sent from the Lucene - General mailing list archive at Nabble.com.
