11ty / 11ty/docs

Search fails to find addDateParsing in the docs

Open
#1,812 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nunjucks
Stars
547
Forks
726
Avg merge
2h 23m
Merged PRs (30d)
3

Description

If I do a search for “addDateParsing”, I get 121 results. The Content Dates page, which contains the actual string “addDateParsing” does not show up until result 109, and does not actually match on the query “addDateParsing”, it just matches on “add”.

If I quote the query so it is limited to exact matches, I get 0 results. Using a site:11ty.dev search on DuckDuckGo returns the correct results (the Content Dates page is the first hit, with addDateParsing highlighted).

Not sure if this is a problem specific to the query “addDateParsing” or if this is symptomatic of a larger issue with search on the site.

Contributor guide

No contributing guide indexed for this repository

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 searches for “addDateParsing” and the quoted query, then compare the results with the Content Dates page at https://www.11ty.dev/docs/dates/. The work is done when the page containing the exact term appears for the relevant search and the broader search behavior is understood or corrected.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.