I have just started including geonames in my java program. Something happens with the search result hit list when I try to get different attributes from the hits.
Let's say I get 100 hits, if I loop over the list I get name, country, latitude and longitude for every hit. If I try to get adminName1 the list suddenly contains only 1 hit. See code below - any of the the get-methods which are commented out affects the number of items in the hit list (btw "stedsnavn" = place name).
I can't find an answer to this anywhere, but I suppose it's because I'm a novise.