Skip to content

gs-app-query: Add a keywords property and use it to replace gs_plugin_add_search()/GS_PLUGIN_ACTION_SEARCH

See the commit messages for details. This replaces gs_plugin_add_search()/GS_PLUGIN_ACTION_SEARCH with a new GsAppQuery:keywords property and use of GsPluginJobListApps.

In the process, it sorts out keyword tokenisation/stemming so that #1193 (closed) is finally fixed, by delegating tokenisation/stemming to each plugin’s search implementation rather than pre-tokenising the search keywords in the plugin loader.

Most of the changes here are very straightforward and very similar to the previous additions to GsAppQuery.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Helps: #1472 Fixes: #1193 (closed)

Edited by Philip Withnall

Merge request reports