I was playing with the extracts API today, in preparation for the Multimedia team's work for next quarter, and I spent about 30 minutes trying to debug TextExtracts and core, because I overlooked the fine print on the API documentation that explains TextExtracts will only return one result by default.
As far as I can tell, finding the extracts is a reasonably performant process, and it won't crash the servers to fetch results for a few more pages in the set. However, I'd be interested to know the rationale for the low default.
|Resolved||Jdlrobson||T164010 [EPIC] Strengthen the APIs we provide in reading web maintained extensions|
|Resolved||Jdlrobson||T153707 Increase exlimit to a number bigger than 1|
Why it was done: producing extracts requires parser output, so a full parse can happen if you request full-page extracts. One parse of a large page per request is more than enough. Requesting intro-only extracts with exintro doesn't have this problem.