Hi Ana and Damian,

I am configuring Gsearch and Solr as well and got the same errors. I managed to 
fix them by updating the Gsearch lucene libraries (under the tomcat app folder) 
with the ones provided with the Solr distribution, e.g. lucene-core-2.9.3.jar 
replaces lucene-core-2.4.jar.

Optionally you may need to delete the index files created by gsearch and then 
restart solr and gsearch. Let me know if it worked for you.

Cheers,
Agustina
________________________________
From: Damian Kaliszan [dam...@man.poznan.pl]
Sent: 05 October 2010 13:37
To: Ana.M Ferreira
Cc: fedora-commons-users@lists.sourceforge.net
Subject: Re: [fcrepo-user] java.io.FileNotFoundException in fedoragsearch

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:tc...@cornell.edu]
Sent: Friday, October 01, 2010 2:16 PM
To: 
fedora-commons-users@lists.sourceforge.net<mailto: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.ferre...@wits.ac.za]
Sent: Friday, October 01, 2010 7:56 AM
To: 
fedora-commons-users@lists.sourceforge.net<mailto: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

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to