My SOLR documents are wine entities. When a user search for a keyword "Haut Bailly" (it's a wine from bordeaux), I would like to get first a closely matching document with shorter title length, ex:
- "Château Haut-Bailly - Pessac-Léognan"
- "Château Haut-Bailly La Parde de Haut Bailly - Pessac-Léognan"
However with default solr queries, the keywords "haut bailly" return this ranking:
- "Château Haut-Bailly La Parde de Haut Bailly - Pessac-Léognan"
- "Château Haut-Bailly - Pessac-Léognan"
Is there any parameters that I could play with to increase the score of a match that is closer to phrase searched (in terms of length) and shorter field (here it's title)? So that here the right wine ("Château Haut-Bailly - Pessac-Léognan") comes up in ranking?
Thank you!