27 Mayıs 2014 Salı

DSpace 4.0 Discovery Solr İndeks Düzenleme / Onarım

DSpace 4.1'de Discovery Solr indeks komutları:

Command used:[dspace]/bin/dspace index-discovery [-cbhf[r <item handle>]]
Java class:org.dspace.discovery.IndexClient
Arguments (short and long forms):Description
called without any options, will update/clean an existing index
-b(re)build index, wiping out current one if it exists
-cclean existing index removing any documents that no longer exist in the db
-fif updating existing index, force each handle to be reindexed even if uptodate
-hprint this help message
-ooptimize search core
-r <item handle>remove an Item, Collection or Community from index based on its handle

Örneğin, DSpace 4.1'de Discovery Solr indeksteki verilerin silinmesi ve yeniden oluşturulması için aşağıdaki komutlar kullanılır:

openaccess@openaccess:/dspace/bin$ sudo ./dspace index-discovery -c
openaccess@openaccess:/dspace/bin$ sudo ./dspace index-discovery -f

Hiç yorum yok:

Yorum Gönder