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

Heiko Ahrens commented on SOLR-1597:
------------------------------------

* The issue is not resolved yet, I think.
 * Here's the current code (from {{FileListEntityProcessor.java}} in 
{{solr-dataimporthandler-8.1.1.jar}})
 {code}
if (!dir.isDirectory())
      throw new DataImportHandlerException(DataImportHandlerException.SEVERE,
              "'baseDir' value: " + baseDir + " is not a directory");
{code}
* The onError-Attribute is still not evaluated, is it?
* Do I miss out on somehting? 

> FileListEntityProcessor should recognize onError attribute
> ----------------------------------------------------------
>
>                 Key: SOLR-1597
>                 URL: https://issues.apache.org/jira/browse/SOLR-1597
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>            Reporter: Sascha Szott
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: SOLR-1597.patch, SOLR-1597.patch, solr-1597.patch
>
>
> In case the baseDir attribute *is* specified but does not point to an 
> existing directory (this results in a FileNotFoundException in 
> FileListEntityProcessor.init()), FileListEntityProcessor should only abort 
> the whole index process if onError is set to abort.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to