lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chantal Ackermann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3668) New Admin : DataImport : Specifying Custom Parameters
Date Fri, 27 Jul 2012 08:50:35 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423752#comment-13423752
] 

Chantal Ackermann commented on SOLR-3668:
-----------------------------------------

Hi Stefan,

thanks for fixing! I had misconfigured my DIH at that time, and it did not output the INFO
messages you posted.
I'm importing directly via /dataimport - so no hurry from my part.

C
                
> New Admin : DataImport : Specifying Custom Parameters
> -----------------------------------------------------
>
>                 Key: SOLR-3668
>                 URL: https://issues.apache.org/jira/browse/SOLR-3668
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 4.0-ALPHA
>         Environment: MacOS X 10.7.4, Safari 5.1.7
>            Reporter: Chantal Ackermann
>            Assignee: Stefan Matheis (steffkes)
>
> I'm trying to run the following direct call via the WebGUI:
> http://localhost:9090/solr/issues/dataimport?command=full-import&importfile=/absolute/path/to/file.xml
> The above direct call produces this log output:
> 24.07.2012 15:18:40 org.apache.solr.handler.dataimport.XPathEntityProcessor initQuery
> WARNUNG: Failed for url : /absolute/path/to/file.xml
> When giving an existing file, DIH works. But this is enough to show the difference between
direct call and call via WebGUI.
> Steps I do in the WebGUI:
> 0. In a multicore environment where one core is called "issues"
> 1. Open the tab of core "issues", and there the sub-item "Dataimport":
> http://localhost:9090/solr/#/issues/dataimport//dataimport
> 2. Specify a custom parameter in the text field labled "Custom Parameters" like "importfile=/absolute/path/to/file.xml"
> Resulting log output:
> 24.07.2012 15:22:47 org.apache.solr.handler.dataimport.XPathEntityProcessor initQuery
> WARNUNG: Failed for url : 
> java.lang.RuntimeException: java.io.FileNotFoundException: Could not find file: 
> (no filename specified)
> When trying with an existing file, the same output (no filename) is logged.
> I've tried to find out how to specify the custom parameters by looking into dataimport.js
but it did not help me (I did not dwell on it, though). If it would work by specifying the
parameter in a different way it would be great if a little info would be added right next
to the field.

--
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