Page MenuHomePhabricator

Search API endpoint
Closed, ResolvedPublic2 Estimated Story Points


API: includes/api/ApiFlowSearch.php
Query class (similar to other formatter): includes/Formatter/SearchQuery.php

Simple example query:
-> Note that because of a recent change, &page=… is also required - that param is for now completely ignored (wasn’t there when I worked on this), but using &title= or &pageid=. This needs to be addressed: either not require it (unlike other APIs) & allow multiple or no page, or make sure we use the &page= param

TODO: results undergo default formatter.revision treatment - this will likely change once we implement the frontent as we’ll need specialized data, specific to search
Let's address that as part of T78790, once we implement the frontend.

Revisions and Commits

rEFLW extension-Flow
rMEXT MediaWiki Extensions

Event Timeline

matthiasmullie claimed this task.
matthiasmullie raised the priority of this task from to Medium.
matthiasmullie updated the task description. (Show Details)
matthiasmullie changed Security from none to None.
matthiasmullie added a subscriber: matthiasmullie.

Change 126996 had a related patch set uploaded (by Matthias Mullie):
[WIP] search


Change 195892 had a related patch set uploaded (by Matthias Mullie):
Search API endpoint

Change 126996 abandoned by Matthias Mullie:

I've split this one into 5 patches, which should make this more manageable to review. 2 of them are more Elastic/Cirrus-focussed, the rest is Flow-specific. - Flow - Search - Flow - Search - Flow

DannyH renamed this task from Search API endpoint to U10. Search API endpoint.Apr 8 2015, 10:25 PM
DannyH renamed this task from U10. Search API endpoint to Search API endpoint.Apr 9 2015, 12:09 AM

Change 195892 merged by jenkins-bot:
Search API endpoint