NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

Search more relevant results at first in settings

Open andrewChen-a opened this issue 3 years ago • 3 comments

Checklist

  • [X] I am able to reproduce the bug with the latest version.
  • [X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [X] I have read the FAQ and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one bug.
  • [X] I have read and understood the contribution guidelines.

Affected version

0.25.1

Steps to reproduce the bug

  1. click "Settings" on the left panel
  2. click search button on the right top
  3. input some words, such as "download f"
  4. and we can see that the search results may not be the best

Expected behavior

I want to get a better search results, but actual not image

Actual behavior

No response

Screenshots/Screen recordings

this is before QQ20230412-112852

this is after improvement, I change the way to get the score, think about n-grams, Jaccard similarity and edit distance , I think it works for the search function

newPipe_实现后

Logs

No response

Affected Android/Custom ROM version

android x

Affected device model

oppo

Additional information

I am android developer, and I wish I can help NewPipe more better, if my commit can merge, that will be my first contribution for open source project

andrewChen-a avatar Apr 12 '23 03:04 andrewChen-a

The existing code works as expected. However, you are willing to change current behavior of the app. So, I am labeling this issue as feature request, not bug.

Please wait for a few days before opening a PR. Keep an eye on https://github.com/TeamNewPipe/NewPipe/issues/10003 for the latest details.

I also assigned this issue to you so that others can know that this issue is already being worked on by someone else.

SameenAhnaf avatar Apr 12 '23 04:04 SameenAhnaf

The existing code works as expected. However, you are willing to change current behavior of the app. So, I am labeling this issue as feature request, not bug.

Please wait for a few days before opening a PR. Keep an eye on #10003 for the latest details.

I also assigned this issue to you so that others can know that this issue is already being worked on by someone else.

got it, thank you~

andrewChen-a avatar Apr 12 '23 05:04 andrewChen-a

It seems that if a search term yields no results (like "xyz" or other nonsense), some random results are being returned instead of nothing.

hurzl avatar Jan 12 '25 09:01 hurzl