[Photon] Higher literal sensitivity
Andreas Karlsson
andreas.karlsson at appello.com
Tue Feb 17 16:25:43 UTC 2015
Hi,
When searching for ³Kungsba² (http://photon.komoot.de/api?q=Kungsba) you
get a lot of results located near the city of Kungsbacka (Sweden), but
nowhere in their documents do they have a string looking like ³Kungsbacka²
or ³Kungsba². So it seems that ES responds with hits placed in the
vicinity of more highly ranked hits.
In this case, with no bias and no tags, the query will be built from the
template query.json. What is it in query.json that selects those documents
with no mention of the search phrase? How would you go about tuning the
query to avoid getting hits that doesn¹t match (or fuzzy match) literally?
Thanks!
Best regards,
--
Andreas Karlsson
More information about the Photon
mailing list