lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul നോബിള്‍ नोब्ळ् <noble.p...@corp.aol.com>
Subject Re: Is DataImportHandler ThreadSafe???
Date Sun, 20 Dec 2009 04:18:45 GMT
On Sat, Dec 19, 2009 at 2:16 PM, gurudev <suyalpravesh@yahoo.com> wrote:
>
> Hi,
> Just wanted to know, Is the DataImportHandler available in solr1.3
> thread-safe?. I would like to use multiple instances of data import handler
> running concurrently and posting my various set of data from DB to Index.
>
> Can I do this by registering the DIH multiple times with various names in
> solrconfig.xml and then invoking all concurrently to achieve maximum
> throughput? Would i need to define different data-config.xml's &
> dataimport.properties for each DIH?
yes , this should work. it is thread-safe
>
> If it would be possible to specify the query in data-config.xml to restrict
> one DIH from overlapping the data-set fetched by another DIH through some
> SQL clauses?
>
> --
> View this message in context: http://old.nabble.com/Is-DataImportHandler-ThreadSafe----tp26853521p26853521.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



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

Mime
View raw message