Re: DataImportHandler: full import of a single entity

2017-08-08 Thread bhargava ravali koganti
It is not working if a cron job is given. It is executing the other enities
as well. Is there any solution?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/DataImportHandler-full-import-of-a-single-entity-tp2258037p4349551.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: DataImportHandler: full import of a single entity

2011-01-18 Thread Jon Drukman
Ahmet Arslan iorixxx at yahoo.com writes:

 
  I've got a DataImportHandler set up
  with 5 entities.  I would like to do a full
  import on just one entity.  Is that possible?
  
 
 Yes, there is a parameter named entity for that. 
 solr/dataimport?command=full-importentity=myEntity

That seems to delete the entire index and replace it with only the contents of
that one entity.  Is there no way to leave the index alone for the other
entities and just redo that one?



Re: DataImportHandler: full import of a single entity

2011-01-18 Thread Ahmet Arslan
 That seems to delete the entire index and replace it with
 only the contents of
 that one entity.  Is there no way to leave the index
 alone for the other
 entities and just redo that one?
 

Yes, there is a parameter named clean for that. 

solr/dataimport?command=full-importentity=myEntityclean=false





DataImportHandler: full import of a single entity

2011-01-14 Thread Jon Drukman
I've got a DataImportHandler set up with 5 entities.  I would like to do a full
import on just one entity.  Is that possible?

I worked around it temporarily by hand editing the dataimport.properties file
and deleting the delta line for that one entity, and kicking off a delta.  But
for (hopefully) obvious reasons, delta is less efficient than full.

-jsd-