mirror of https://github.com/apache/lucene.git
SOLR-3084: Fixed initialiazation error when using <queryResponseWriter default="true" ... />
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239316 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fca632d48b
commit
07d334be9b
|
@ -562,6 +562,10 @@ Bug Fixes
|
|||
* SOLR-3073: Fixed 'Invalid UUID string' error when having an UUID field as
|
||||
the unique key and executing a distributed grouping request. (Devon Krisman, Martijn van Groningen)
|
||||
|
||||
* SOLR-3084: Fixed initialiazation error when using
|
||||
<queryResponseWriter default="true" ... /> (Bernd Fehling and hossman)
|
||||
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
* SOLR-2922: Upgrade commons-io and commons-lang to 2.1 and 2.6, respectively. (koji)
|
||||
|
|
|
@ -1625,9 +1625,9 @@ public final class SolrCore implements SolrInfoMBean {
|
|||
log.warn("Multiple queryResponseWriter registered to the same name: " + info.name + " ignoring: " + old.getClass().getName());
|
||||
}
|
||||
if(info.isDefault()){
|
||||
defaultResponseWriter = writer;
|
||||
if(defaultResponseWriter != null)
|
||||
log.warn("Multiple default queryResponseWriter registered ignoring: " + old.getClass().getName());
|
||||
log.warn("Multiple default queryResponseWriter registered, using: " + info.name);
|
||||
defaultResponseWriter = writer;
|
||||
}
|
||||
log.info("created "+info.name+": " + info.className);
|
||||
} catch (Exception ex) {
|
||||
|
|
|
@ -237,7 +237,10 @@
|
|||
|
||||
|
||||
</query>
|
||||
|
||||
|
||||
<queryResponseWriter name="xml" default="true"
|
||||
class="solr.XMLResponseWriter" />
|
||||
|
||||
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
|
||||
|
||||
<!-- An alternate set representation that uses an integer hash to store filters (sets of docids).
|
||||
|
|
Loading…
Reference in New Issue