thanks for that Gert. This integration work is much appreciated. Makes it so
much simpler to search.
cheers,
Alistair
--
mov eax,1
mov ebx,0
int 80h
From: Gert Schmeltz Pedersen <[email protected]<mailto:[email protected]>>
Reply-To: "Support and info exchange list for Fedora users."
<[email protected]<mailto:[email protected]>>
Date: Wednesday, 12 June 2013 12:40
To: "Support and info exchange list for Fedora users."
<[email protected]<mailto:[email protected]>>
Subject: Re: [fcrepo-user] gsearch not recognising DCTERMS/RDF namespaces
Yes, that is one way of completing the indexing stylesheet with the namespaces
that occur in the foxml records that you provide to
The other way is to include those namespace declarations in
fieldsUniqueToXsltForSolr.xslt, because that file is included in the run of ant
generateIndexingXslt.
Gert
On 12/06/2013, at 13.04, Alistair Young wrote:
starts ok if I add the namespace declarations to:
fgsconfigFinal/index/FgsIndex/foxmlToSolrGenerated.xslt
is that just how it works?
Alistair
--
mov eax,1
mov ebx,0
int 80h
From: Alistair Young <[email protected]<mailto:[email protected]>>
Reply-To: "Support and info exchange list for Fedora users."
<[email protected]<mailto:[email protected]>>
Date: Wednesday, 12 June 2013 11:42
To: "Support and info exchange list for Fedora users."
<[email protected]<mailto:[email protected]>>
Subject: Re: [fcrepo-user] gsearch not recognising DCTERMS/RDF namespaces
I run:
ant generateIndexingXslt
then
ant -f fgsconfig-basic.xml
all works fine until I drop in the exported foxml-1.1 file from the repo.
Outputs from the scripts all seem normal. It just doesn't start due to the
namespace errors.
vagrant@ltk-dev:~/FgsConfig$ ant generateIndexingXslt
Buildfile: /home/vagrant/FgsConfig/build.xml
generateIndexingXslt:
[delete] Deleting directory
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles
[xslt] Processing
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/foxmls.xml to
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/fields.xml
[xslt] Loading stylesheet
/home/vagrant/FgsConfig/indexingXsltGenerator/foxmlToFields.xslt
[xslt] Processing
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/fields.xml to
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/fieldsSorted.xml
[xslt] Loading stylesheet
/home/vagrant/FgsConfig/indexingXsltGenerator/fieldsToFieldsSorted.xslt
[xslt] Processing
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/fieldsSorted.xml
to /home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/fieldsUnique.xml
[xslt] Loading stylesheet
/home/vagrant/FgsConfig/indexingXsltGenerator/fieldsSortedToFieldsUnique.xslt
[xslt] Processing
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/fieldsUnique.xml
to
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/foxmlToLuceneGenerated.xslt
[xslt] Loading stylesheet
/home/vagrant/FgsConfig/indexingXsltGenerator/fieldsUniqueToXsltForLucene.xslt
[copy] Copying 1 file to
/home/vagrant/FgsConfig/FgsConfigIndexTemplate/Lucene
[xslt] Processing
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/fieldsUnique.xml
to
/home/vagrant/FgsConfig/indexingXsltGenerator/generatedFiles/foxmlToSolrGenerated.xslt
[xslt] Loading stylesheet
/home/vagrant/FgsConfig/indexingXsltGenerator/fieldsUniqueToXsltForSolr.xslt
[copy] Copying 1 file to
/home/vagrant/FgsConfig/FgsConfigIndexTemplate/Solr
vagrant@ltk-dev:~/FgsConfig$ ant -f fgsconfig-basic.xml
Buildfile: /home/vagrant/FgsConfig/fgsconfig-basic.xml
configFgsBasic:
configFgsRoot:
[delete] Deleting directory /home/vagrant/FgsConfig/Toolkit/fgsconfigFinal
[mkdir] Created dir: /home/vagrant/FgsConfig/Toolkit/fgsconfigFinal
[copy] Copying 22 files to /home/vagrant/FgsConfig/Toolkit/fgsconfigFinal
configFgsRepos:
[mkdir] Created dir:
/home/vagrant/FgsConfig/Toolkit/fgsconfigFinal/repository/FgsRepos
[copy] Copying 3 files to
/home/vagrant/FgsConfig/Toolkit/fgsconfigFinal/repository/FgsRepos
configFgsIndex:
[mkdir] Created dir:
/home/vagrant/FgsConfig/Toolkit/fgsconfigFinal/index/FgsIndex
[copy] Copying 20 files to
/home/vagrant/FgsConfig/Toolkit/fgsconfigFinal/index/FgsIndex
[copy] Copying 1 file to /home/vagrant/FgsConfig/Toolkit/fgsconfigFinal
[delete] Deleting directory
/home/vagrant/WWW/ltk-dev/tomcat/webapps/fedoragsearch/WEB-INF/classes/fgsconfigFinal
[mkdir] Created dir:
/home/vagrant/WWW/ltk-dev/tomcat/webapps/fedoragsearch/WEB-INF/classes/fgsconfigFinal
[copy] Copying 46 files to
/home/vagrant/WWW/ltk-dev/tomcat/webapps/fedoragsearch/WEB-INF/classes/fgsconfigFinal
BUILD SUCCESSFUL
From: Gert Schmeltz Pedersen <[email protected]<mailto:[email protected]>>
Reply-To: "Support and info exchange list for Fedora users."
<[email protected]<mailto:[email protected]>>
Date: Wednesday, 12 June 2013 11:37
To: "Support and info exchange list for Fedora users."
<[email protected]<mailto:[email protected]>>
Subject: Re: [fcrepo-user] gsearch not recognising DCTERMS/RDF namespaces
Which scripts are you running, and what is the output you get?
Gert
On 12/06/2013, at 12.11, Alistair Young wrote:
Is there a way to get gsearch to recognise inline namespaces? When I export a
resource from Fedora to FOXML-1.1 and drop it into:
FgsConfig/indexingXsltGenerator/foxml
and run the scripts, gsearch won't start:
Undeclared namespace prefix {dct}
Undeclared namespace prefix {rdf}
but those namespaces are valid and declared in the foxml:
<dct:dcterms
xmlns:dct="http://purl.org/dc/terms/"><http://purl.org/dc/terms/%22%3E>
…
</dct:dcterms>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
…
</rdf:RDF>
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
------------------------------------------------------------------------------
This SF.net<http://SF.net/> email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Fedora-commons-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
------------------------------------------------------------------------------
This SF.net<http://SF.net> email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Fedora-commons-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users