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

Hoss Man commented on SOLR-4184:
--------------------------------

white spaces are not legal characters in URLs.

i suspect if you modified your script transformer to do properly URL escaping 
of the filename then things would work -- but i'm only guessing since i'm not 
actually certain you can use script transformers to modify parent entity values 
prior to their use in resolving the sub-entities.

(I would have tried it, but your URLs are all private, and i don't have a 
similar setup to attempt experimenting with)
                
> URLDataSource and BinUrlDataSource unable to handle urls with special 
> characters
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-4184
>                 URL: https://issues.apache.org/jira/browse/SOLR-4184
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 4.0
>         Environment: Local
>            Reporter: Hardik Upadhyay
>            Priority: Minor
>         Attachments: db-data-config.xml, exception.log
>
>
> While configuring DIH to import remote files, URLDataSource/BinURLDataSource 
> throws an exception for file urls with special characters. For example
>  http://192.168.100.33/data/exampledocs/Searchable Entities.docx throws an 
> exception because file name contains 'space'. Detailed log attached

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to