[Wikidata-bugs] [Maniphest] [Commented On] T177275: Add ordinal variable to MWAPI service calls

2018-10-01 Thread Smalyshev
Smalyshev added a comment. @Luitzen you may want to use bd:serviceParam wikibase:limit 20 .. With it, the query runs for 335 ms for me.TASK DETAILhttps://phabricator.wikimedia.org/T177275EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Luitzen,

[Wikidata-bugs] [Maniphest] [Commented On] T177275: Add ordinal variable to MWAPI service calls

2018-10-01 Thread Luitzen
Luitzen added a comment. It seems that ORDER BY ?ordinal in combination with mwapi:srlimit leads to perfomance degradation. Try the following with and without bd:serviceParam mwapi:srlimit 20 (or "20"): SELECT * WHERE { SERVICE wikibase:mwapi { bd:serviceParam wikibase:api "Search" .

[Wikidata-bugs] [Maniphest] [Commented On] T177275: Add ordinal variable to MWAPI service calls

2017-11-08 Thread Eloquence
Eloquence added a comment. Awesome, thanks very much for your work on this! Seems to work exactly as advertised and should make it possible to build some nicer suggesters with a single query. :)TASK DETAILhttps://phabricator.wikimedia.org/T177275EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T177275: Add ordinal variable to MWAPI service calls

2017-11-05 Thread gerritbot
gerritbot added a comment. Change 388287 merged by jenkins-bot: [wikidata/query/rdf@master] Add option to fetch ordinal of the result in MWAPI query: https://gerrit.wikimedia.org/r/388287TASK DETAILhttps://phabricator.wikimedia.org/T177275EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T177275: Add ordinal variable to MWAPI service calls

2017-11-02 Thread gerritbot
gerritbot added a comment. Change 388287 had a related patch set uploaded (by Smalyshev; owner: Smalyshev): [wikidata/query/rdf@master] Add option to fetch ordinal of the result in MWAPI query: https://gerrit.wikimedia.org/r/388287TASK DETAILhttps://phabricator.wikimedia.org/T177275EMAIL