Skip to content

Quick search does not work in some page #142222

@zzJinux

Description

@zzJinux

How to reproduce

  1. Go to https://docs.python.org/
  2. Search for anything with Quick search in the upper right corner.
  3. It's stuck.

Devtools log:

searchtools.js:292  Uncaught TypeError: stopwords.indexOf is not a function
    at searchtools.js:292:19
    at Array.forEach (<anonymous>)
    at Object._parseQuery (searchtools.js:286:30)
    at Object.query (searchtools.js:416:91)
    at Object.performSearch (searchtools.js:275:35)
    at HTMLDocument.init (searchtools.js:215:23)

Note

In URLs like https://docs.python.org/3.13/index.html or https://docs.python.org/3.14/index.html, it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirpendingThe issue will be closed if no feedback is provided

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions