Jest: Search on the site is not working

Created on 1 May 2020  Â·  14Comments  Â·  Source: facebook/jest

Search on the site is not working. Seems like you can't test your own site :)

image

https://jestjs.io/

Bug Website

All 14 comments

Yeah, noticed. No results from algolia, but nothing on their status page https://status.algolia.com/. @Haroenv known?

{
  "results": [
    {
      "hits": [],
      "nbHits": 0,
      "page": 0,
      "nbPages": 0,
      "hitsPerPage": 5,
      "exhaustiveNbHits": true,
      "query": "s",
      "params": "query=s&hitsPerPage=5&facetFilters=%5B%22language%3Aen%22%2C%22version%3A25.5%22%5D",
      "index": "jest",
      "processingTimeMS": 1
    }
  ]
}

There should still be results according to this, let me find the root cause: https://github.com/algolia/docsearch-configs/blob/master/configs/jest.json (cc @s-pace)

Might be due to a new release. Just recrawling the website now.

Should be good now

It is working fine now

Thanks @s-pace! Do we need to trigger some recrawl on every new docs version/change? I'm 99.9999% certain we've had new versioned docs without search breaking before...

@s-pace we've pushed out 26 and the search is broken again

Did you release a new version?

yes, yesterday (though after your update, https://github.com/facebook/jest/releases/tag/v26.0.0)

We can probably add some GH action that triggers whenever there's a push to gh-pages branch or something that can poke something on your side? Not sure how to best automate this (or why it's an issue now)

It is a work in progress now. Crawl is done. Can you double check please?

Yeah, worked now, thanks! Anything we can do to trigger this automatically?

This is a work in progress. We will let you know once crawl on demand is
available.

On Tue, May 5, 2020 at 3:05 PM Simen Bekkhus notifications@github.com
wrote:

Yeah, worked now, thanks! Anything we can do to trigger this automatically?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/jest/issues/9942#issuecomment-624043098, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHU4LODCALT3DLQ3JRJ4I6LRQAFLDANCNFSM4MXHEESQ
.

Cool, thanks!

Was this page helpful?
0 / 5 - 0 ratings