For the semantic search MVP on Android, we need an HTTP endpoint that they can consume to retrieve semantic search results. The Android app uses the Action API for both, prefix and full text search. For matters of convenience, we would reuse the Action API. Apparently, there are multiple discriminators already:
- *gps* gps(search|limit|offset) = prefix search + generator=prefix
- *gsr* gsr(search|limit|offset) = full text search + generator=fulltext
TBD: Do we need another param family or can we expand the possible values, for example, generator=semantic?
Alternatively might be solved via search profile, see fulltext query dependent profile.
Corresponding Android app task: T412986
AC:
- w/api.php? can be called to fetch semantic results