On Tue, Sep 15, 2015 at 10:07 AM, Dan Andreescu <[email protected]> wrote:
> One thing that i want to bring up that may not be captured in the endpoint >> described above (but maybe exists in another endpoint? I havn't been >> following). Within search we would like to integrate page view statistics >> into our completion suggestions api. This indexes will be built once a >> week from a bulk process. Ideally we would like to be able to send over 100 >> or so titles and get page average hourly page views (random guess on >> exactly which, but something that indicates the relative popularity of the >> page) for the past week. >> > > This is possible using our "per-article" endpoint. There you can get > hourly pageviews for a particular page title for an arbitrary time range. > So grab a week of data for each of the 100 titles, then you can average or > do whatever you like. > > I worry a little bit about the performance without having a batch api, but we can certainly try it out and see what happens. Basically we will be requesting the page view information for every NS_MAIN article in every wiki once a week. A quick sum against our search cluster suggests this is ~96 million api requests. > _______________________________________________ > Analytics mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/analytics > >
_______________________________________________ Analytics mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/analytics
