Hi Pierre-Yves, In your index.properties file you name your indexing stylesheet. In configDemoOnLucene it is demoFoxmlToLucene.xslt, and as arne anka says, it indexes only foxml records with pid starting with "demo", which is only for the sake of the example. You have to tailor the indexing stylesheet to your metadata, give it a fitting name and refer to it in index.properties. Please, study the demo indexing stylesheet in order to do what you want with your metadata. Remember, that the indexing stylesheet transforms the foxml record (containing your metadata datastream) to an IndexDocument consisting of IndexFields named as you like. As I said the other day, you may find it convenient to test your stylesheet with xsltproc from linux command line or use the saxon service coming with fedora.
Cheers, Gert ________________________________________ Fra: Pierre-Yves JALLUD [[email protected]] Sendt: 15. maj 2009 15:51 Til: fedora-commons-developers Emne: [Fedora-commons-developers] fedoragsearch for more than DC requests Hi all, I'm looking for a search service for custom meta-data. I have found gsearch of course and I think that it is the service I need. But I have some problems to understand how to configure it and how to use it. I have files that I want to add to fedora objects. Those files are XML files and contain meta-data. The aim is to be able to do requests on each field founded in the file. I have installed the version 2.2 with a fedora 3.1 I have kept all the default parameters, except for the authentication. I have also change my fedora.fcfg for automatic updates. After adding new datastreams, if I use the rest web service (with an URL like http://my-fedora-server:8080/fedoragsearch/rest?operation=browseIndex), I can see the data but not as I expected it. I saw passing messages about this kind of problem (Adding custom datastreams to GSearch...)... but I think I don't have the same situation. ... so, the question is: is it possible to do what I want with fedoragsearch? Which file(s) do I have to change to do that? Must I use a search engine... like Lucene?... Am I realy beside my aim? Thanks for any suggestion. Greetings Pierre-Yves ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
