posit-dev / posit-dev/open-source-website

Search hits don't appear in visible card excerpts

Open
#392 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
55
Forks
24
Avg merge
1d 21h
Merged PRs (30d)
17

Description

Searching returns hits whose matched term isn't visible anywhere on the result card. The search index appears to run against full post content, while card excerpts are truncated to a fixed length. If a match occurs past that cutoff, the search still finds it, but the rendered excerpt never shows it. Leaving unverifiable hits.

Steps to reproduce:

  1. Go to https://opensource.posit.co/people/hadley-wickham/
  2. Search "elevators"
  3. Results appear, but no card's visible title/excerpt contains the word
Image

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

Reproduce the issue at the linked profile page by searching for "elevators," then trace the search result card and its fixed-length excerpt alongside the full-post search index. Done means each returned card visibly contains the matched term, including this reproduction case.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.