JanZerebecki added a comment. This is only used from the wbsearchentities API used for autosuggest. The code currently first gets an exact match on entity id, then exact matches, then in a 3rd query prefix matches if more matches are wanted. Quite many 3 or less letter combinations have enough exact matches. The query in question is a 3rd one. Limiting prefix matches to 4 or more letters is probably sensible for now. Long term I like the cirrus way.
Request that causes this query: https://www.wikidata.org/w/api.php?action=wbsearchentities&search=p&format=json&language=pl&type=item&continue=0 TASK DETAIL https://phabricator.wikimedia.org/T77898 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. To: Wikidata-bugs, JanZerebecki Cc: Aklapper, JanZerebecki, daniel, Wikidata-bugs, aude _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
