Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search on scalafix documentation is not working anymore #1514

Closed
mlachkar opened this issue Dec 21, 2021 · 4 comments
Closed

search on scalafix documentation is not working anymore #1514

mlachkar opened this issue Dec 21, 2021 · 4 comments

Comments

@mlachkar
Copy link
Collaborator

No description provided.

@daddykotex
Copy link
Contributor

With the webtools:

Screen Shot 2022-01-10 at 15 18 26

It seems like the configuration on Algolia has changed. In text:

Uncaught (in promise) r {name: 'AlgoliaSearchError', message: 'Index scalafix does not exist', debugData: Array(1), statusCode: 404, stack: 'AlgoliaSearchError: Index scalafix does not exist\n…livr.net/docsearch.js/1/docsearch.min.js:3:11081)'}debugData: [{…}]message: "Index scalafix does not exist"name: "AlgoliaSearchError"statusCode: 404stack: "AlgoliaSearchError: Index scalafix does not exist\n    at p (https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js:3:11081)"[[Prototype]]: Error
Promise.then (async)
(anonymous) @ docsearch.min.js:2
update @ docsearch.min.js:5
e @ docsearch.min.js:5
n @ docsearch.min.js:4
C.each @ docsearch.min.js:4
s.each @ docsearch.min.js:4
update @ docsearch.min.js:5
_onQueryChanged @ docsearch.min.js:5
r @ docsearch.min.js:5
a @ docsearch.min.js:5
_checkInputValue @ docsearch.min.js:5
_onInput @ docsearch.min.js:5
o @ docsearch.min.js:4
r.proxy @ docsearch.min.js:4

@mlachkar
Copy link
Collaborator Author

Trying to create a new index on algolia website. I don't understand what happened!

@ckipp01
Copy link
Member

ckipp01 commented Jan 12, 2022

Trying to create a new index on algolia website. I don't understand what happened!

Algolia just sent out info about this to admins (we got it for Metals), and it looks like need to migrate to an actual algolia account to get it to work. I'll forward you the email we got which should give you some insight since if I had to guess this is what's happening.

@mlachkar
Copy link
Collaborator Author

So in fact there is a migration, but the issue was due to a wrong http url that was not redirecting anymore to the scalafix website! algolia/docsearch-configs#5025

tanishiking added a commit to tanishiking/metals that referenced this issue Mar 19, 2023
We've been working on updating the algolia index for scalameta sites.
However, there's been a lot of trouble keeping the algolia keys up to date,
and the search function sometimes goes down.
see:
scalacenter/scalafix#1514
scalameta#3604
scalameta/scalameta#2569

This commit switches the search function from algolia to one of the
local search indexes
https://github.com/cmfcmf/docusaurus-search-local
chosen from
https://docusaurus.io/community/resources#search

ggl#
tanishiking added a commit to tanishiking/metals that referenced this issue Mar 19, 2023
We've been working on updating the algolia index for scalameta sites.
However, there's been a lot of trouble keeping the algolia keys up to date,
and the search function sometimes goes down.
see:
scalacenter/scalafix#1514
scalameta#3604
scalameta/scalameta#2569

This commit switches the search function from algolia to one of the
local search indexes
https://github.com/cmfcmf/docusaurus-search-local
chosen from
https://docusaurus.io/community/resources#search

I picked cmfcmf/docusaurus-search-local because
it has a lot of stars + it seems to be well maintained
Maybe there's better alternative :)
tanishiking added a commit to tanishiking/metals that referenced this issue Mar 19, 2023
We've been working on updating the algolia index for scalameta sites.
However, there's been a lot of trouble keeping the algolia keys up to date,
and the search function sometimes goes down.
see:
scalacenter/scalafix#1514
scalameta#3604
scalameta/scalameta#2569

This commit switches the search function from algolia to one of the
local search indexes
https://github.com/cmfcmf/docusaurus-search-local
chosen from
https://docusaurus.io/community/resources#search

I picked cmfcmf/docusaurus-search-local because

- it seems to be well maintained
- it works without server setup (unlike typesense)

but, other suggestions are welcome :)
tanishiking added a commit to tanishiking/metals that referenced this issue Mar 19, 2023
We've been working on updating the algolia index for scalameta sites.
However, there's been a lot of trouble keeping the algolia keys up to date,
and the search function sometimes goes down.
see:
scalacenter/scalafix#1514
scalameta#3604
scalameta/scalameta#2569

This commit switches the search function from algolia to one of the
local search indexes
https://github.com/easyops-cn/docusaurus-search-local
chosen from
https://docusaurus.io/community/resources#search

I picked easyops-cn/docusaurus-search-local because

- it seems to be well maintained
- it works without server setup (unlike typesense)
- looks prettier than cmfcmf/docusaurus-search-local (original one)

but, other suggestions are welcome :)
tanishiking added a commit to tanishiking/metals that referenced this issue Mar 19, 2023
We've been working on updating the algolia index for scalameta sites.
However, there's been a lot of trouble keeping the algolia keys up to date,
and the search function sometimes goes down.
see:
scalacenter/scalafix#1514
scalameta#3604
scalameta/scalameta#2569

This commit switches the search function from algolia to one of the
local search indexes
https://github.com/easyops-cn/docusaurus-search-local
chosen from
https://docusaurus.io/community/resources#search

I picked easyops-cn/docusaurus-search-local because

- it seems to be well maintained
- it works without server setup (unlike typesense)
- looks prettier than cmfcmf/docusaurus-search-local (original one)

but, other suggestions are welcome :)
tgodzik pushed a commit to scalameta/metals that referenced this issue Mar 20, 2023
We've been working on updating the algolia index for scalameta sites.
However, there's been a lot of trouble keeping the algolia keys up to date,
and the search function sometimes goes down.
see:
scalacenter/scalafix#1514
#3604
scalameta/scalameta#2569

This commit switches the search function from algolia to one of the
local search indexes
https://github.com/easyops-cn/docusaurus-search-local
chosen from
https://docusaurus.io/community/resources#search

I picked easyops-cn/docusaurus-search-local because

- it seems to be well maintained
- it works without server setup (unlike typesense)
- looks prettier than cmfcmf/docusaurus-search-local (original one)

but, other suggestions are welcome :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants