Okay, the answer is “Yes, sort of, but...”

“One annoyance is because of how DIH is designed, you need a separate handler 
set up in solrconfig.xml for each DIH you plan to run.  So you have to plan in 
advance how many DIH instances you want to run, which config files they'll use, 
etc.”

See:
http://lucene.472066.n3.nabble.com/Multiple-dataimport-processes-to-same-core-td3645525.html
 

-- Jack Krupansky

From: Sergio Martín Cantero 
Sent: Thursday, May 17, 2012 11:07 AM
To: solr-user@lucene.apache.org 
Cc: Jack Krupansky 
Subject: Re: Use DIH with more than one entity at the same time

Thanks Jack, but that´s not what I want.

I don´t want multiple entities in one invocation, but two simultaneous 
invocations of the DIH with different entities.

Thanks.

  
      Sergio Martín Cantero Office (ES) +34 91 733 73 97 
      playence Spain SL sergio.mar...@playence.com 
      Calle Vicente Gaceo 19 
     
      28029 Madrid - España   


El 17/05/12 17:04, Jack Krupansky escribió: 
  Yes. From the doc: 

  "Multiple 'entity' parameters can be passed on to run multiple entities at 
once. If nothing is passed, all entities are executed." 

  See: 
  http://wiki.apache.org/solr/DataImportHandler 

  But that is one invocation of DIH, not two separate updates as you tried. 

  -- Jack Krupansky 

  -----Original Message----- From: Sergio Martín Cantero 
  Sent: Thursday, May 17, 2012 10:46 AM 
  To: solr-user@lucene.apache.org 
  Subject: Use DIH with more than one entity at the same time 

  I´m new to this list, so... Hello everybody. 

  I´m trying to run the DIH with more than one entity at the same time, 
  but only the first entity I call is being indexed. The other doesn´t get 
  any response. 
  For example: 
  First call: 
  
http://localhost:8080/solr/dataimport?command=full-import&clean=false&entity=users
 
  Before the indexing has finished, I call: 
  
http://localhost:8080/solr/dataimport?command=full-import&clean=false&entity=products
 

  The second call doesn´t have any effedt, and the products are not 
  indexed at all. 

  Isn´t it possible to run more than one full import for different 
  entities at the same time? 

  Thanks a lot for your help 
  Sergio 

Reply via email to