https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bsearch "You can use the search string to invoke special search features, depending on what the wiki's search backend implements."
Il 15/08/2015 00:11, ArtGiray . ha scritto:
why "insource" etc. special query words not showing in api doc....... Anyway thank you it's slow but perfect.
2015-08-15 0:59 GMT+03:00 Ricordisamoa <ricordisamoa@openmailbox.org mailto:ricordisamoa@openmailbox.org>:
https://en.wikipedia.org/w/api.php?action=query&list=search&srwhat=text&srsearch=insource%3A%2Fa%2Bb%2Bc%2F (very slow, use sparingly) Il 14/08/2015 23:47, ArtGiray . ha scritto:
i wrote my own java api it using https://en.wikipedia.org/w/api.php and isn't it possible a single query to current api.php to search with regex? (could you send a working link exist) 2015-08-15 0:35 GMT+03:00 Ricordisamoa <ricordisamoa@openmailbox.org <mailto:ricordisamoa@openmailbox.org>>: See https://www.mediawiki.org/wiki/Help:CirrusSearch#insource: Il 14/08/2015 23:30, ArtGiray . ha scritto:
Hi, For example a want to search "a+b+c" regex word in 1.000.000 page content. I can get all page content (this mean i download the page content to my pc) from api and search it. But i don't want to download 1.000.000 pages to my pc (because it is very lazy search and too many bandwidth for me and for wikipedia), i just want search a word from the server side? Is it possible to search page content from server side and if page contain my words then i get it's title? i want like this query: https://en.wikipedia.org/w/api.php?action=query&type=iscontainword®exword=a+b+c&limit=10 _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org <mailto:Mediawiki-api@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org <mailto:Mediawiki-api@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org <mailto:Mediawiki-api@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org <mailto:Mediawiki-api@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api