5.11. Setup your EdNA Searcher

The EdNA searcher requires a search user to be specified to allow the EdNA team to track usage of the service. To register and generate a user id, go to http://search.edna.edu.au/ and select the “Register” link.

In BELTS_HOME/server/default/deploy/belts-services.sar/META-INF/jboss-service.xml, find the configuration lines describing belts:service=Searcher,name=edna and setup your search user, by replacing “changme” with the name sent to you by EdNA.

<!-- EdNA Searcher -->
<mbean code="au.edu.educationau.belts.management.searcher.SearcherService" name="belts:service=Searcher,name=edna">
    <depends>belts:service=HttpClientPool</depends>
    <attribute name="JndiName">belts/content/searcher/edna</attribute>
    <attribute name="SearcherClass">au.edu.educationau.belts.search.edna.EdNASearcher</attribute>
    <attribute name="Configuration">
            <![ CDATA [<edna id="edna" url="http://search.edna.edu.au/dsm/xml/search" user="changeme" strategy="waitall" sort="relevance" dupes="false" max-results="200" username="" password=""/> ] ]>
    </attribute>
</mbean>