Page MenuHomePhabricator

Create default implementation of result augmenting from page props
Open, MediumPublic

Description

Create an implementation of API from T117493 that augments search results with specified page props from the page props table.

The implementation should allow bulk lookup of props to avoid repeated SQL queries.

Event Timeline

@EBernhardson and I looked at this, and we are confused! Isn't this functionality already achieved use generator? e.g. https://en.wikipedia.org/w/api.php?action=query&generator=search&gsrsearch=foo&prop=pageterms|pageimages. This query augments the search results with descriptions and images. Some clarification here would be nice.

It is possible for generators, but is not possible for any other ways of searching, e.g. Special:Search. I think the idea was to make the same capability accessible to other search modes.

Smalyshev triaged this task as Medium priority.Jul 14 2016, 5:16 PM