lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Wesemann (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-2186) DataImportHandler multi-threaded option throws exception
Date Tue, 31 May 2011 21:48:47 GMT

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

Frank Wesemann edited comment on SOLR-2186 at 5/31/11 9:48 PM:
---------------------------------------------------------------

This improved patch addresses the issue that Evaluators ( classes inheriting from o.a.s.dih.Evaluator
)used on an arbitrary entityAttribute  may hit an empty Context in "threaded" mode.

This is done by setting  {{Context.CURRENT_CONTEXT.set(context);}} before {{initEntity()}}
is called.

This patch may also adress SOLR-2463 (or at least give a hint that somewhere else {{CURRENT_CONTEXT}}
is set lately).



      was (Author: wese):
    This improved patch addresses the issue that Evaluators ( classes inheriting from o.a.s.dih.Evaluator
) may hit an empty Context in an "threaded" mode.

This is done by setting  {{Context.CURRENT_CONTEXT.set(context);}} before {{initEntity()}}
is called.

This patch may also adress SOLR-2463 (or at least give a hint that somewhere else {{CURRENT_CONTEXT}}
is set lately).


  
> DataImportHandler multi-threaded option throws exception
> --------------------------------------------------------
>
>                 Key: SOLR-2186
>                 URL: https://issues.apache.org/jira/browse/SOLR-2186
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>            Reporter: Lance Norskog
>            Assignee: Grant Ingersoll
>         Attachments: SOLR-2186.patch, Solr-2186.patch, TikaResolver.patch
>
>
> The multi-threaded option for the DataImportHandler throws an exception and the entire
operation fails. This is true even if only 1 thread is configured via *threads='1'*

--
This message is automatically generated by JIRA.
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