QuantumBadger / QuantumBadger/RedReader

Search functionality for comments doesn't work in some cases

Open
#1,201 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.7k
Forks
527
Avg merge
20d 10h
Merged PRs (30d)
3

Description

Sometimes, when I search for a particular text within the comments of a post, the app returns No search results found even if there are comments with that text. These comments can even be top level comments, that are clearly visible when you load the post comments and scroll down.

In one case, I found changing the search text's characters to all lowercase made the search function return the correct results.

Example

In this reddit post:

  • Searching for Havertz returns No search results found.
    Refer screenshot 1 below.
  • But, searching for havertz returns the correct results.
    Refer screenshot 2 below.
Screenshots
  • Screenshot 1
    Screenshot_20240620-090236
  • Screenshot 2
    Screenshot_20240620-090300

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the linked Reddit post, comparing searches for “Havertz” and “havertz” in the post comments. Then locate the comment-search entry point and verify that matching is consistent regardless of query capitalization; no file or test is named in the issue, so add or update coverage for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.