Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.
The "GeoTopicParser" page has been changed by ChrisMattmann: https://wiki.apache.org/tika/GeoTopicParser?action=diff&rev1=12&rev2=13 {{{ $ curl "http://localhost:8765/api/search?s=Pasadena&s=Texas" - {"Texas":[{"name":"Texas","countryCode":"US","admin1Code":"TX","admin2Code":"","latitude":31.25044,"longitude":-99.25061}],"Pasadena":[{"name":"Pasadena","countryCode":"US","admin1Code":"CA","admin2Code":"037","latitude":34.14778,"longitude":-118.14452}]} + { + "Pasadena": [ + { + "admin1Code": "CA", + "admin2Code": "037", + "countryCode": "US", + "latitude": 34.14778, + "longitude": -118.14452, + "name": "Pasadena" + } + ], + "Texas": [ + { + "admin1Code": "TX", + "admin2Code": "", + "countryCode": "US", + "latitude": 31.25044, + "longitude": -99.25061, + "name": "Texas" + } + ] + } }}} Note that we used the convenience script `lucene-geo-gazetteer` which assumes that you created an indexed named geoIndex in the $HOME/src/lucene-geo-gazetter/geoIndex directory. We could have also used the pure Java command line to search. The return from the Gazetteer is a JSON List of Object structures in which the structure is a key->Object List map. The key is the location name given and the Object List is a list of most popular location objects in the Gazetteer for that name.
