Re: Importance of setting match_value when returning search results
- From: Richard Hughes <hughsient gmail com>
- To: Robert Ancell <robert ancell canonical com>
- Cc: gnome-software-list gnome org
- Subject: Re: Importance of setting match_value when returning search results
- Date: Tue, 2 May 2017 08:06:13 +0100
On 2 May 2017 at 06:05, Robert Ancell <robert ancell canonical com> wrote:
We don't have any information from snapd to indicate which part of the
metadata matched though you could probably work this out by scanning the
search results (they contain all the metadata). Also note that snap results
are returned in importance order (as determined by the server side search).
Whilst it makes sense for snapd to return them in importance order for
the snap client it makes it impossible to "merge" snapd results with
other plugin results, e.g. flatpak or web-apps.
With your changes will snaps get deprioritized compared to other packages? I
guess the right solution is to scan the returned metadata to avoid this or
change snapd to provide this information.
Creating an *A*sApp and calling as_app_search_matches_all() would be a
good workaround, but ideally snapd could tell us why the result is
being returned.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]