I installed fedoragsearch on my Mac (next to Fedora of course) but I was only partially successful.
The good news is that the Basic Client for Fedora Generic Search Service (http://localhost:8080/fedoragsearch/rest) is working properly. I've updated the index, it has found all my objects and I can search them. The bad news is that I can't get any of the demos to work. When I run sh runRESTClient.sh I get the following result : command not foundine 3: : command not foundine 7: : command not foundine 10: : command not foundine 13: : command not foundine 16: Args 0= 1= 2= 3= 4= 5= 6= 7= 8= Exception in main: String index out of range: 1 java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.substring(String.java:1765) at dk.defxws.fedoragsearch.client.RESTClient.main(RESTClient.java:508) Other demos give even more problems. I'm not sure if the problem lies with my installation of fedoragsearch, or with the environment I'm using (bash shell on Mac but switching to csh shell gave no difference). Has anyone encountered anything similar? With respect to the installation, I must admit that I found the configuration instructions a little cryptic: "Select the default config in configDefault." I didn't modify the configvalues.xml file at all, but I did run 'ant -f configvalues.xml configOnWebServer' as requested. I was hoping the demos could help me figure out how to change the IndexFieldNameList to add other fields and how to invoke search commands from PHP using a SOAP client. -Rudi ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
