elementary / elementary/appcenter

Multi-word search treated as OR instead of AND

Open
#1,512 2 comments 0 reactions 0 assignees View on GitHub
Needs Design
Dominant language
Vala
Stars
554
Forks
104
Avg merge
15h 57m
Merged PRs (30d)
2

Description

## What Happened

If I search for a multi-word query, it appears to be searching as an OR query; for example, if I search for `gnome game`, I get all results that match `gnome` OR `game`.

## Expected Behavior

I would expect a more precise search term to narrow down results, not broaden them. At the very least, we should re-order results based on the presence of both terms, but it seems like the initial query is broken in the first place.

## Steps to Reproduce

1. Open AppCenter
2. Search for a multi-word string, e.g. `gnome game`
3. See the results

## Platform Information

elementary OS 6 early access with AppCenter from master

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.