For wikidata, we need to match ID (like Q42) in case-insensitive manner (q42 should match) while still keeping the exact match. As far as I can see, current fields do not provide a good way to do it. Maybe we should add a field for title? Or use some special syntax? T179045 presents workaround for the problem (uppercasing search string) but this is a hack, not a proper long-term solution.
|Resolved||Smalyshev||T179091 Add case-insensitive title match capability for Wikidata search|
|Resolved||Smalyshev||T179045 Wikibase prefix search for IDs is case sensitive|
Sorry I misread your comment,
It should be title.near_match_asciifolding not title.prefix_asciifolding, the latter will allow finding Q423213 when typing q42 so that is not what the task description says.
because ℚ will be folded to Q
Don't think this is a huge deal... If it proves to be, then we can reopen.
title.near_match_asciifolding not title.prefix_asciifolding
Ah, sure. But then I think there's nothing more left to do here.