microsoft / microsoft/winget-cli
Consider Lucene search algorithm
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue

If I search Visual Studio I got all the list but if I search with 2022. I got only one item. This can be better fixed by using Lucene search on the backend server. I did implement one a long time ago and I am able to make it work for non-English language which a lot of language rules applied.
While looking at the search result, I feel it's looking to search exactly in the string. The current result is not useful at all. I search for Visual Studio 2022 and it's giving me only one 1 result.
Steps to reproduce
Just search as I did, refer to the screenshot.
Expected behavior
If someone searches Visual Studio 2022, I am expecting it to provide all variants (PRO, Community, Enterprise). If you compare it to my.visualstudio.com that's giving better results than winget.
Actual behavior
Only showing 1 item as a search result.
Environment
Windows 10 with latest up to date.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by tracing the backend search path and its current matching behavior, then evaluate whether a Lucene-based approach can return Visual Studio 2022 variants such as PRO, Community, and Enterprise; done means those related results appear together.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100