symfony2 - Get shortest result first elasticsearch -
symfony2 - Get shortest result first elasticsearch -
i work elasticsearch symfony2. have database music artists. when seek search illustration "emine*" wildcard, got in firsts results "eminence of darkness" or anothers ones instead of "eminem" wich closest query.
please see illustration http://i.stack.imgur.com/l2qal.png
what can "eminem" in first result ?
thanks, adrian
wildcard query default uses constant_score_auto rewrite parameter gives same score matches.
for illustration in question sort matched results artist.sort_name desired result .
symfony2 elasticsearch
Comments
Post a Comment