Hello all,
I use opensearch to search Wikimedia Commons for images for a search tool I have created. The query is as follows:
http://commons.wikimedia.org/w/api.php?action=opensearch&&format=xml...]
However, I find that the number of "Item" elements returned by this query is often either 9, 10 or 11. So far it seems that the number is more or less within this range.
Is there some sort of limit on the number of results that are fetched? How could I get more results?
Thanks in advance, Leena
2010/11/25 Leena leena123@gmail.com:
Hello all, I use opensearch to search Wikimedia Commons for images for a search tool I have created. The query is as follows: http://commons.wikimedia.org/w/api.php?action=opensearch&&format=xml...] However, I find that the number of "Item" elements returned by this query is often either 9, 10 or 11. So far it seems that the number is more or less within this range. Is there some sort of limit on the number of results that are fetched? How could I get more results?
Set &limit=25 to get (at most) 25 results. The highest limit you can set is 100.
Roan Kattouw (Catrope)
mediawiki-api@lists.wikimedia.org