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.fsdirect...@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
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 <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
        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.

         


<html><p><font face = "verdana" size = "0.8" color = "navy">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.</font></p></html>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to