Search results returned by the search web service do return the score if style=FULL.
However this property is not supported by the Toponym.
The attached archive contains the necessary changes and a test
Best,
Rupert Westenthaler (given dot family at gmail dot com)
Fore some web service calls there is no score porvided. This caused a NullPointerException with the code attached.
In the meantime I added some code to return a DEFAULT_SCORE for Toponyms returned by WebServices that do not use score values (e.g. hierarchy).
This changes are available under
http://iks-project.googlecode.com/svn/sandbox/fise/trunk/ext/org.geonames/
Note this also creates an OSGI bundle for the geonames.org web service client
best,
Rupert