You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Alexey Serba <as...@gmail.com> on 2010/01/12 17:48:45 UTC

DataImportHandler - synchronous execution

Hi,

I found that there's no explicit option to run DataImportHandler in a
synchronous mode. I need that option to run DIH from SolrJ (
EmbeddedSolrServer ) in the same thread. Currently I pass dummy stream
to DIH as a workaround for this, but I think it makes sense to add
specific option for that. Any objections?

Alex

Re: DataImportHandler - synchronous execution

Posted by Alexey Serba <as...@gmail.com>.
Hi,

I created Jira issue SOLR-1721 and attached simple patch ( no
documentation ) for this.

HIH,
Alex

2010/1/13 Noble Paul നോബിള്‍  नोब्ळ् <no...@corp.aol.com>:
> it can be added
>
> On Tue, Jan 12, 2010 at 10:18 PM, Alexey Serba <as...@gmail.com> wrote:
>> Hi,
>>
>> I found that there's no explicit option to run DataImportHandler in a
>> synchronous mode. I need that option to run DIH from SolrJ (
>> EmbeddedSolrServer ) in the same thread. Currently I pass dummy stream
>> to DIH as a workaround for this, but I think it makes sense to add
>> specific option for that. Any objections?
>>
>> Alex
>>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Systems Architect| AOL | http://aol.com
>

Re: DataImportHandler - synchronous execution

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@corp.aol.com>.
it can be added

On Tue, Jan 12, 2010 at 10:18 PM, Alexey Serba <as...@gmail.com> wrote:
> Hi,
>
> I found that there's no explicit option to run DataImportHandler in a
> synchronous mode. I need that option to run DIH from SolrJ (
> EmbeddedSolrServer ) in the same thread. Currently I pass dummy stream
> to DIH as a workaround for this, but I think it makes sense to add
> specific option for that. Any objections?
>
> Alex
>



-- 
-----------------------------------------------------
Noble Paul | Systems Architect| AOL | http://aol.com