mirror of https://github.com/apache/lucene.git
SOLR-2636: Fix explain functionality for negative queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143238 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0a3f804518
commit
64410c6b88
|
@ -300,6 +300,8 @@ Bug Fixes
|
|||
* SOLR-2631: PingRequestHandler should not allow to ping itsself using "qt"
|
||||
param to prevent infinite loop. (Edoardo Tosca, Uwe Schindler)
|
||||
|
||||
* SOLR-2636: Fix explain functionality for negative queries. (Tom Hill via yonik)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -1843,6 +1843,11 @@ public class SolrIndexSearcher extends IndexSearcher implements SolrInfoMBean {
|
|||
return openTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Explanation explain(Query query, int doc) throws IOException {
|
||||
return super.explain(QueryUtils.makeQueryable(query), doc);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// SolrInfoMBean stuff: Statistics and Module Info
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue