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

Why is it that when I access Algolia according to the official documentation, the search results are empty。 #4488

Closed
4 tasks done
igitinode opened this issue Jan 12, 2025 · 9 comments
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@igitinode
Copy link

Describe the bug

Why is it that when I access Algolia according to the official documentation, the search results are empty, but there is data when searching in Algolia Browse?

test crawler config :igitinode.github.io_MP05B9ZYPB.json

this is my github tets blog use for vitepress :https://igitinode.github.io/algoliatest/

blog seatch:
test

Reproduction

follow the describt

Expected behavior

follow the describt

System Info

windows 10 
chrome 131

Additional context

No response

Validations

@igitinode igitinode added the bug: pending triage Maybe a bug, waiting for confirmation label Jan 12, 2025
@igitinode
Copy link
Author

Are there any other config in algolia app?or something wrong in my code?

@brc-dd
Copy link
Member

brc-dd commented Jan 12, 2025

Hmm, the code looks fine. Are you sure it's indexed?

Go to https://dashboard.algolia.com/crawler

Does it show last indexed there?

image

Click on the name to open overview page. Can you share its screenshot?

@igitinode
Copy link
Author

indices name:

indices-name

crawler-name:
crawler-name

@igitinode
Copy link
Author

crawler-details

crawler-code

@igitinode
Copy link
Author

igitinode commented Jan 12, 2025

the crawler was I copied form vitepress today.

@brc-dd
Copy link
Member

brc-dd commented Jan 12, 2025

Facet filters seem to be the issue. It should show zh-CN there, similar to this:

image

Can you re-trigger the crawl? ("Start Crawl" button in the above screenshot.)

@igitinode
Copy link
Author

overwrite

show-facet

why not i don't have lang?

@brc-dd
Copy link
Member

brc-dd commented Jan 12, 2025

It is showing some warning. Can you try deleting and re-creating the index?

image

You can delete from here:

image

@igitinode
Copy link
Author

Oh, Thank you my friend. i delete the indices and crawler, and re-creating. now, it show result in my algolia-test blog.

show lang:zh-CN in crawler preview:
success

show result in my algolia-test blog:
success2

my init indices and crawler was the official step to generate。and i copy the vitepress code to cover and restar crawler.but it doesn't work. I don't know where I went wrong 。

Thank you to Vitepress for the official rich documentation, and thank you to my friend "bre-dd" .

@brc-dd brc-dd closed this as completed Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

2 participants