Sundsvallskommun / OpenEMap-WebUserInterface

Open eMap user interface for the main map client
GNU Affero General Public License v3.0
4 stars 5 forks source link

Search ES - Remove coordinate values from search (4h) #165

Open anderserla opened 9 years ago

anderserla commented 9 years ago

Search returns hits that dont really match. Do the following

  1. Search for "130" -> Error there are 10 hits, but it should only be 1

This may relate to the ranking of hits. We would only want exact matches. Maybe it also searches the coordinates? Any suggestions @sweco-sebhar ?

ghost commented 9 years ago

Yes, I think coordinates have been indexed when loaded into ElasticSearch. We do use the geometry as returned by ElasticSearch so it cannot be removed but it should be possible to configure ElasticSearch to not index it. Probably a configuration that needs to be done when loading data.