lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Norskog (JIRA)" <>
Subject [jira] Created: (SOLR-2115) DataImportHandler has two parameters for config file and neither one works
Date Wed, 08 Sep 2010 23:52:32 GMT
DataImportHandler has two parameters for config file and neither one works

                 Key: SOLR-2115
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
    Affects Versions: 1.4.1, 1.4.2, 3.1, 4.0
            Reporter: Lance Norskog
             Fix For: 1.4.2, 3.1, 4.0

The DataImportHandler has two URL parameters for defining the data-config.xml file to be used
for the command. 'config' is used in some places and 'dataConfig' is used in other places.

'config' does not work from an HTTP request. However, if it is in the "defaults" section of
the DIH <requestHandler> definition, it works. If the 'config' parameter is used in
an HTTP request, the DIH uses the default in the <requestHandler> anyway.

This is the exception stack recieved by the client if there is no default. (This is the 3.X

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 500 </title>
<body><h2>HTTP ERROR: 500</h2><pre>null

	at org.apache.solr.handler.dataimport.DataImportHandler.handleRequestBody(
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(
	at org.apache.solr.core.SolrCore.execute(
	at org.apache.solr.servlet.SolrDispatchFilter.execute(
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
	at org.mortbay.jetty.servlet.ServletHandler.handle(
	at org.mortbay.jetty.servlet.SessionHandler.handle(
	at org.mortbay.jetty.handler.ContextHandler.handle(
	at org.mortbay.jetty.webapp.WebAppContext.handle(
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
	at org.mortbay.jetty.handler.HandlerCollection.handle(
	at org.mortbay.jetty.handler.HandlerWrapper.handle(
	at org.mortbay.jetty.Server.handle(
	at org.mortbay.jetty.HttpConnection.handleRequest(
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
	at org.mortbay.jetty.HttpParser.parseNext(
	at org.mortbay.jetty.HttpParser.parseAvailable(
	at org.mortbay.jetty.HttpConnection.handle(
	at org.mortbay.thread.BoundedThreadPool$
<p>RequestURI=/solr/db/dataimport</p><p><i><small><a href="">Powered
by Jetty://</a></small></i></p><br/>                       


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message