lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fehling (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3084) SolrException from QueryResponseWriter initWriters
Date Wed, 01 Feb 2012 09:16:58 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bernd Fehling updated SOLR-3084:
--------------------------------

    Description: 
This is from issue SOLR-2718 and came up after backporting that issue to branch_3x.
After that backport I get a SolrException.

Jan 31, 2012 1:50:15 PM org.apache.solr.core.SolrCore initListeners
INFO: [] Added SolrEventListener for firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=*:*,start=0,rows=10,spellcheck.build=true},
.....
Jan 31, 2012 2:00:10 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: QueryResponseWriter init failure
    at org.apache.solr.core.SolrCore.initWriters(SolrCore.java:1499)
    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:557)
    at org.apache.solr.core.CoreContainer.create(CoreContainer.java:466)
    at org.apache.solr.core.CoreContainer.load(CoreContainer.java:319)
... 



  was:
This is from issue SOLR-2718 and came up after backporting that issue to branch_3x.
After that backport I get a SolrException.

Jan 31, 2012 1:50:15 PM org.apache.solr.core.SolrCore initListeners
INFO: [] Added SolrEventListener for firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=*:*,start=0,rows=10,spellcheck.build=true},
.....
Jan 31, 2012 2:00:10 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: QueryResponseWriter init failure
    at org.apache.solr.core.SolrCore.initWriters(SolrCore.java:1499)
    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:557)
    at org.apache.solr.core.CoreContainer.create(CoreContainer.java:466)
    at org.apache.solr.core.CoreContainer.load(CoreContainer.java:319)
... 

It turned out that log.warn is always triggered, also for the first default queryResponseWriter.
if(info.isDefault()){
defaultResponseWriter = writer;
if(defaultResponseWriter != null)
log.warn("Multiple default queryResponseWriter registered ignoring: " + old.getClass().getName());
}

Solution is to place "defaultResponseWriter = writer;" after the if clause.




    
> SolrException from QueryResponseWriter initWriters
> --------------------------------------------------
>
>                 Key: SOLR-3084
>                 URL: https://issues.apache.org/jira/browse/SOLR-3084
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>            Reporter: Bernd Fehling
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-3084.patch
>
>
> This is from issue SOLR-2718 and came up after backporting that issue to branch_3x.
> After that backport I get a SolrException.
> Jan 31, 2012 1:50:15 PM org.apache.solr.core.SolrCore initListeners
> INFO: [] Added SolrEventListener for firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=*:*,start=0,rows=10,spellcheck.build=true},
.....
> Jan 31, 2012 2:00:10 PM org.apache.solr.common.SolrException log
> SEVERE: org.apache.solr.common.SolrException: QueryResponseWriter init failure
>     at org.apache.solr.core.SolrCore.initWriters(SolrCore.java:1499)
>     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:557)
>     at org.apache.solr.core.CoreContainer.create(CoreContainer.java:466)
>     at org.apache.solr.core.CoreContainer.load(CoreContainer.java:319)
> ... 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message