Smalyshev added a comment.

There was no changes in query parsing recently (and whitespace etc. shouldn't matter for query results anyway, that would be against the standard). Your difference in results may be a result of T197598: MWAPI query with LIMIT ignores MINUS, where depending on which branch the query optimizer takes, you may get correct or wrong result filtering the result of MWAPI query. I'll check more in detail to see if this is indeed what happens with your query.

Of note, I had to add the ?title part to the query in response to a similar change in the WDQS some months back which resulted in the mwapi:srsearch command not just returning pages where the string "zika" was in the title but also pages where it occurred anywhere on the page

Wikidata search is supposed to return results of all matches, including texts of the label, description and some statements. The improvements in Wikidata search have been announced. Wikidata item can not have "zika" string in the title, since titles are all Q-ids, but if you need search only in label fields (ignoring descriptions and other statements) this syntax can be added. Please file a task for this. Regular search applies to whole item since this is what most users would expect when using the search API.


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

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

To: Smalyshev
Cc: Smalyshev, Daniel_Mietchen, Aklapper, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, D3r1ck01, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to