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

Algolia search does not work anymore #424

Closed
MockingMagician opened this issue Nov 15, 2021 · 10 comments
Closed

Algolia search does not work anymore #424

MockingMagician opened this issue Nov 15, 2021 · 10 comments

Comments

@MockingMagician
Copy link

MockingMagician commented Nov 15, 2021

Hi,

It looks like the algolia search engine always return not found result for any searched terms. But for sure, it should be.

Search done from URI : https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/2.2/

Capture d’écran de 2021-11-15 11-14-30

Capture d’écran de 2021-11-15 11-14-42

@kevin-rv
Copy link

Hi, I have the same problem when it will be solved ?

@greg0ire
Copy link
Member

Seems related to #417

@SenseException
Copy link
Member

It depends on new branches of projects. When a new branch or version gets released, the search index for that version doesn't exist yet. It currently needs to be created manually. There's also a change when the previous latest version gets replaced by a new one and won't have an available version-fit index.

I've created the search-index for mongodb-odm 2.2 now and it should work.

@MockingMagician
Copy link
Author

Hi @greg0ire , @SenseException

Thanks for all, but it still not work.

@SenseException
Copy link
Member

This time we have reached the limit for the month. The search of the other docs aren't working anymore too. This is something I cannot fix 😞

@MockingMagician
Copy link
Author

@SenseException Gosh!

It is hudge problem here, cause most part of the doc is not accessible from doc menu. It is possible to help you in any way ?

@greg0ire
Copy link
Member

You can contribute something to https://github.com/doctrine/mongodb-odm/blob/2.2.x/docs/en/sidebar.rst if it's missing

@malarzm
Copy link
Member

malarzm commented Nov 26, 2021

@greg0ire I believe the problem is that we do have those in the sidebar, but they're not visible: doctrine/mongodb-odm#2099. Maybe it'll be easier to debug the issue now the build process is on Github?

@SenseException
Copy link
Member

Different issue. As @malarzm already mentioned are the missing sidebar links part of doctrine/mongodb-odm#2099. I've put a comment into the issue about a possible reason for the missing links, but the source of it needs to be found. Please use the issue there for the doc menu problems. I assume other Doctrine projects might also have this problem.

@SenseException
Copy link
Member

The search index will be updated for all projects once a month. This will make sure that the index will get the latest changes to the docs and that new versions won't stay empty for too long.

When new versions of a project are created (aka new version branch), then the docs do exist and are build on the next Website deployment. The Algolia index isn't created with it which is why sometimes there are versions without search results. Tags like "current" or "latest" will link to different versions once change happens, but the index will still have them linked to the previous assigned versions before the Website build.

The indexing surely can be improved, but for now I'll close this issue as the basic problem of "no indices created ever" was solved. More can be read in #417 and #520.

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

5 participants