Hi Ana,


Recently I went through the same procedure you are going now.
Please look at https://techknowhow.library.emory.edu/fedora-commons/fedora-install-notes. You may find some tips there.
Regarding your question, the answer is also there :
It's something like:

# keep getting segments* errors...kill java, copy over segments from single core and restarted:
ps -ef|grep java        #get pid
kill <pid>
cp /home/fedora32a/gsearch/solr/solr/data/index/segment* /home/fedora32a/gsearch/solr/multicore/etd/data/index/
cp /home/fedora32a/gsearch/solr/solr/data/index/segment* /home/fedora32a/gsearch/solr/multicore/smallpox/data/index/ 

It should help....

I'm stucked in the same place but keep getting different error:

"IndexReader  open error indexName=DemoOnSolr : ; nested exception is:
org.apache.lucene.index.CorruptIndexException: Unknown format version: -9"


Does anyone can help? (FC 3.4)



Best regards,
Damian


-----------------------------------------------------------------------------------------


W Twoim liście datowanym 5 października 2010 (14:02:33) można przeczytać:


Thanks Tim
 
That worked. I have managed to update index from FoxmlFies for both the Basic client and the TestOnLucene client. However I am having problems with the DemoOnSolr client. I have created the empty index and can get the  Indxe and Repository info. However when I try to undate the index I get the following error:
 
IndexReader open error indexName=DemoOnSolr : ; nested exception is: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@D:\fedora\gsearch\DemoOnSolr\example\solr\data\index: files: 
 
Have checked all paths and passwords but can’t seem to find the problem…
 
Please help…
 
Ana 
 

From: Tim Cornwell [mailto:tc225@cornell.edu] 
Sent: Friday, October 01, 2010 2:16 PM
To: fedora-commons-users@lists.sourceforge.net
Subject: Re: [fcrepo-user] java.io.FileNotFoundException in fedoragsearch
 
Ana,
 
It sounds like you have not yet established the index files.  The update function needs to have the index files in place first, and this is done (on a new install) by selecting the "updateIndex createEmpty" button in the web interface.  In your case it might be on this page:
 
  http://localhost:8080/fedoragsearch/rest?operation=updateIndex
 
...here you just need to click on the updateIndex createEmpty button.  This will build the (empty) index files that the update function can operate on.
 
-Tim
Timothy Cornwell, Programmer/Analyst
National Science Digital Library (http://nsdl.org)
 

From: Ana.M Ferreira [mailto:Ana.M.Ferreira@wits.ac.za] 
Sent: Friday, October 01, 2010 7:56 AM
To: fedora-commons-users@lists.sourceforge.net
Cc: Ana.M Ferreira
Subject: [fcrepo-user] java.io.FileNotFoundException in fedoragsearch
 
I have managed to install fedoragsearch - the  getIndexInfo and getRepositoryInfo seem to work but the updateIndex

http://localhost:8080/fedoragsearch/rest?operation=updateIndex

gives the following error:
IndexReader open error indexName=BasicIndex : ; nested exception is: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/usr/local/fedora/gsearch/BasicIndex: files:

I have obviously not copied or changed all the required files. Please help?

Ana Ferreira 
This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

 



This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.



-- 
Pozdrowienia,
 Damian Kaliszan