[ 
https://issues.apache.org/jira/browse/SOLR-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated SOLR-2186:
----------------------------------------

    Attachment: SOLR-2186.patch

A patch which fixes the NPE with multi-threaded mode.

The problem was that the resolver is supposed to be looked up just-in-time for 
the current entity but ThreadedContext delegated the getResolvedEntityAttribute 
method to super class which did not have one. The fix was to override 
getResolvedEntityAttribute correctly.

I added the TestTikaEntityProcessor patch by Frank in the patch.

This does not solve the problem with the evaluators - I'll add a patch in 
SOLR-2463 to fix it.

> 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: Shalin Shekhar Mangar
>         Attachments: SOLR-2186.patch, SOLR-2186.patch, SOLR-2186.patch, 
> Solr-2186.patch, TestDocBuilderThreaded.java, TestTikaEntityProcessor.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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to