TJones added a comment.

  We talked about this in our team meeting today, and @dcausse opened T245642 
<https://phabricator.wikimedia.org/T245642> after our discussion. We also 
uncovered the difference between these two queries:
  
  - `Barcelonnette - Villa du Parc du Mercantour -984` (12 results)
  - `Barcelonnette - Villa du Parc du Mercantour -984.jpg` (13 results, 
including the desired one)
  
  We have //another// index of titles and the second query above (with `.jpg`) 
is an exact match (after parsing) of the title of the file, so it gets added 
into the mix. It doesn't score well enough to make it to the top of the list, 
but at least it is there.
  
  The current boosting of the `near_match` is 2, which was set a long time ago. 
Many changes have been made since then. Increasing the boost to 10 should 
improve the ranking of most title matches. It may not cover every possible 
case, but it should raise many of these to the #1 spot, and it should raise 
many others into the top 10 so that the P18 
<https://phabricator.wikimedia.org/P18> patch above can find them and elevate 
them the rest of the way. (That patch will still be very helpful in cases like 
the //Eglise Notre Dame de l'Assomption// searches above, since all of those 
files will appear identical to the `near_match` scoring.)
  
  I'll also copy over some examples from here as test cases for T245642 
<https://phabricator.wikimedia.org/T245642>.

TASK DETAIL
  https://phabricator.wikimedia.org/T196165

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Silvan_WMDE, TJones
Cc: hoo, EBernhardson, TJones, dcausse, Ladsgroup, Silvan_WMDE, Addshore, 
Bencemac, Aklapper, Ayack, Liuxinyu970226, Smalyshev, Lydia_Pintscher, 
Lea_Lacroix_WMDE, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to