Thank you, objectStoreBase corrected.
I will try to recreate the pdf exception, please send me the test:1 foxml and
the pdf file.
The Fedora demo:18 object has a pdf datastream, does that work for you?
Gert
On 01/09/2011, at 11.48, Stuart Chalk wrote:
I went though the instructions and started up gsearch and it had an error.
Looking at the log I found that the objectstore path was not set correctly
I suggest changing fgsconfig-basic.properties to add the fedora path variable
in the definition of objectStoreBase
#objectStoreBase must be the "object_store_base" value from fedora.fcfg of
this repository.
objectStoreBase=${local_FEDORA_HOME}/data/objectStore
Once this was changed there were no problems with indexing.
I then ingested a PDF file as a stream on a test object, emptied the index and
recreated it from the foxML files.
Here is the log output indicating the error with indexing the PDF stream
INFO 2011-09-01 05:06:05,110 (OperationsImpl) updateIndex fromFoxmlFiles
/opt/local/fedora/data/objectStore/79 indexDirSpace=52 docCount=0
DEBUG 2011-09-01 05:06:05,110 (GTransformer)
xsltName=config/index/FgsIndex/foxmlToLucene
INFO 2011-09-01 05:06:05,147 (GenericOperationsImpl) getDatastreamText
pid=test:1 repositoryName=FgsRepos dsId=MEDIA
fedoraSoap=http://localhost:8080/fedora/services fedoraUser=fedoraAdmin
fedoraPass=fedora42 trustStorePath= trustStorePass=
WARN 2011-09-01 05:06:11,553 (GenericOperationsImpl) exception and empty index
field from getDatastreamText mimetype pid=test:1 dsId=MEDIA mimetype=
exception=(500)Internal Server Error
DEBUG 2011-09-01 05:06:11,554 (OperationsImpl) IndexDocument=
<?xml version="1.0" encoding="UTF-8"?>
<IndexDocument xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foxml="info:fedora/fedora-system:def/foxml#" PID="test:1" boost="3.5">
<IndexField boost="1.0" termVector="NO" store="YES" index="UN_TOKENIZED"
IFname="PID">test:1</IndexField>
<IndexField boost="1.0" termVector="NO" store="YES" index="UN_TOKENIZED"
IFname="REPOSITORYNAME">FgsRepos</IndexField>
<IndexField boost="1.0" termVector="NO" store="YES" index="UN_TOKENIZED"
IFname="REPOSBASEURL">http://localhost:8080/fedora</IndexField><http://localhost:8080/fedora%3C/IndexField%3E>
<IndexField termVector="NO" store="YES" index="UN_TOKENIZED"
IFname="fgs.state">Active</IndexField>
<IndexField termVector="NO" store="YES" index="UN_TOKENIZED"
IFname="fgs.label">Test PDF Object</IndexField>
<IndexField termVector="NO" store="YES" index="UN_TOKENIZED"
IFname="fgs.ownerId">Stuart Chalk</IndexField>
<IndexField termVector="NO" store="YES" index="UN_TOKENIZED"
IFname="fgs.createdDate">2011-09-01T08:43:40.706Z</IndexField>
<IndexField termVector="NO" store="YES" index="UN_TOKENIZED"
IFname="fgs.lastModifiedDate">2011-09-01T08:46:27.244Z</IndexField>
<IndexField termVector="YES" store="YES" index="TOKENIZED"
IFname="dc.title">Test PDF Object</IndexField>
<IndexField termVector="YES" store="YES" index="TOKENIZED"
IFname="dc.identifier">test:1</IndexField>
<IndexField termVector="NO" store="YES" index="TOKENIZED" IFname="dsm.MEDIA"/>
</IndexDocument>
DEBUG 2011-09-01 05:06:11,555 (IndexDocumentHandler) PID=test:1
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler) REPOSITORYNAME=FgsRepos
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler)
REPOSBASEURL=http://localhost:8080/fedora
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler) fgs.state=Active
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler) fgs.label=Test PDF Object
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler) fgs.ownerId=Stuart Chalk
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler)
fgs.createdDate=2011-09-01T08:43:40.706Z
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler)
fgs.lastModifiedDate=2011-09-01T08:46:27.244Z
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler) dc.title=Test PDF Object
DEBUG 2011-09-01 05:06:11,556 (IndexDocumentHandler) dc.identifier=test:1
INFO 2011-09-01 05:06:11,640 (OperationsImpl) IndexDocument=test:1
I guess I do not everything configured correctly. Any thoughts?
Stuart
On Sep 1, 2011, at 3:32 AM, Gert Schmeltz Pedersen wrote:
Stuart
Oh yes, the page you refer to has not been rewritten yet. The new instructions
are in the file
FgsConfig/fgsconfig-basic-README.txt.
in the git files and in .../tomcat/webapps/fedoragsearch
Thanks
Gert
On 31/08/2011, at 18.06, Stuart Chalk wrote:
Gert
I have downloaded and installed the current build from git as you suggested in
your email.
It installs correctly and I can get to the start page at
http://localhost:8080/fedoragsearch/ fine.
My question is - are there new instructions for the "simplified configuration"?
The page that comes up "looks" like the old instructions for installation and I
cannot find "configvalues.xml".
Stuart
On Aug 31, 2011, at 6:10 AM, Gert Schmeltz Pedersen wrote:
Expected release date for GSearch 2.3 is Friday September 9.
The primary feature of GSearch is that it makes it easy to make your digital
contents in Fedora searchable for yourself and your end-users.
The primary news are that GSearch 2.3 runs with Fedora 3.5, Lucene 3.3.0, Solr
3.3.0 and PDFBox 1.6.0 and has simplified configuration.
If you migrate from GSearch 2.2 to 2.3, you simply reuse the configuration
files you have.
If you start with GSearch 2.3, you edit a basic property file and run an ant
script with it. This will insert your property values into your copy of a set
of template configuration files, providing the final set of configuration
files. These may be edited, if you want to select among more than the basic
configuration options.
You may get the current prerelease from https://github.com/fcrepo/gsearch and
run ant buildfordownload to provide fedoragsearch.war, or run ant
buildforlocaltest to have test configurations as well. They assume you have
ingested the Fedora demo objects. Also see FgsConfig/fgsconfig-basic-README.txt.
At startup, GSearch will look for the root configuration directory named
'config' in the tomcat classpath, this is unchanged from 2.2 to 2.3. Tomcat has
a default classpath location at WEB-INF/classes, but this will be overwritten,
when you dump a new fedoragsearch.war, so you may prefer to configure tomcat
with a classpath location outside tomcat, where the configuration files are put.
If you do try a prerelease, your feedback will be appreciated.
Gert
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net<mailto:Fedora-commons-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net<mailto:Fedora-commons-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net<mailto:Fedora-commons-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users