QueryParsing.toString() should check ConstantScoreRangeQuery before RangeQuery ------------------------------------------------------------------------------
Key: SOLR-947 URL: https://issues.apache.org/jira/browse/SOLR-947 Project: Solr Issue Type: Bug Components: search Affects Versions: 1.3 Reporter: Koji Sekiguchi Assignee: Koji Sekiguchi Priority: Minor Fix For: 1.4 This {code:title=QueryParsing.toString()} if (query instanceof TermQuery) { : } else if (query instanceof RangeQuery) { : } else if (query instanceof ConstantScoreRangeQuery) { : } : {code} should be {code:title=QueryParsing.toString()} if (query instanceof TermQuery) { : } else if (query instanceof ConstantScoreRangeQuery) { : } else if (query instanceof RangeQuery) { : } : {code} This causes NPE when open ended range query (price:[1 TO *]) with debugQuery=on. This is reported on the thread: http://www.nabble.com/http-internal-error-if-i-enable-debugQuery%3Don-td21210570.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.