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 <http://nsdl.org/> )



  _____  

From: Ana.M Ferreira [mailto:[email protected]] 
Sent: Friday, October 01, 2010 7:56 AM
To: [email protected]
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.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to