Menu

#3 Add support for get/setScore for Toponym

open
nobody
None
5
2010-06-18
2010-06-18
Anonymous
No

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)

Discussion

  • Rupert Westenthaler

    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

     

Log in to post a comment.

MongoDB Logo MongoDB