DIH solr cloud

2015-07-29 Thread Midas A
Hi,

I have  to create DIH with solr cloud shared with multi node architecture
for solr 5.2.1.

Please advise where should i create this.

~M


Re: DIH solr cloud

2015-07-29 Thread Erick Erickson
Just pick a node to run it on. I vastly prefer, though,
using a SolrJ client, here's a sample:

https://lucidworks.com/blog/indexing-with-solrj/

Best,
Erick

On Wed, Jul 29, 2015 at 4:37 AM, Midas A test.mi...@gmail.com wrote:
 Hi,

 I have  to create DIH with solr cloud shared with multi node architecture
 for solr 5.2.1.

 Please advise where should i create this.

 ~M


Re: DIH + Solr Cloud

2013-09-04 Thread Tim Vaillancourt

Hey Alejandro,

I guess it means what you call more than one instance.

The request handlers are at the core-level, and not the Solr 
instance/global level, and within each of those cores you could have one 
or more data import handlers.


Most setups have 1 DIH per core at the handler location /dataimport, 
but I believe you could have several, ie: /dataimport2, /dataimport3 
if you had different DIH configs for each handler.


Within a single data import handler, you can have several entities, 
which are what explain to the DIH processes how to get/index the data. 
What you can do here is have several entities that construct your index, 
and execute those entities with several separate HTTP calls to the DIH, 
thus creating more than one instance of the DIH process within 1 core 
and 1 DIH handler.


ie:

curl 
http://localhost:8983/solr/core1/dataimport?command=full-importentity=suppliers; 

curl 
http://localhost:8983/solr/core1/dataimport?command=full-importentity=parts; 

curl 
http://localhost:8983/solr/core1/dataimport?command=full-importentity=companies; 



http://wiki.apache.org/solr/DataImportHandler#Commands

Cheers,

Tim

On 03/09/13 09:25 AM, Alejandro Calbazana wrote:

Hi,

Quick question about data import handlers in Solr cloud.  Does anyone use
more than one instance to support the DIH process?  Or is the typical setup
to have one box setup as only the DIH and keep this responsibility outside
of the Solr cloud environment?  I'm just trying to get picture of his this
is typically deployed.

Thanks!

Alejandro



DIH + Solr Cloud

2013-09-03 Thread Alejandro Calbazana
Hi,

Quick question about data import handlers in Solr cloud.  Does anyone use
more than one instance to support the DIH process?  Or is the typical setup
to have one box setup as only the DIH and keep this responsibility outside
of the Solr cloud environment?  I'm just trying to get picture of his this
is typically deployed.

Thanks!

Alejandro