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 - "Nothing found" #191

Closed
tvories opened this issue Feb 25, 2020 · 10 comments
Closed

Algolia Search - "Nothing found" #191

tvories opened this issue Feb 25, 2020 · 10 comments

Comments

@tvories
Copy link

tvories commented Feb 25, 2020

Using Release 1.14.0

I have followed the instructions and set up Algolia for my site. I have pasted the contents of index.json into my index at Algolia. When I try to search my site I get "Nothing found" in the search box.
image

In Algolia I am able to "browse" my records and the search there works great.
image

Am I missing something?

@TeknikalDomain
Copy link
Contributor

Just to verify here, the app ID, API key, and index name are all configured in config.toml, yes?

@tvories
Copy link
Author

tvories commented Feb 26, 2020

Correct, the settings are set correctly in my config.toml.

I can actually see the API calls coming into the application so I know the api keys are set correctly:
image

I just get zero results.

@igor-baiborodine
Copy link
Collaborator

Hi,

Any progress on this issue? I have the same problem.

@tvories
Copy link
Author

tvories commented May 27, 2020

I have not been able to get it to work for me yet.

@igor-baiborodine
Copy link
Collaborator

Lednerb added a commit that referenced this issue May 28, 2020
@Lednerb
Copy link
Owner

Lednerb commented May 28, 2020

Thanks for looking into it @igor-baiborodine
The updated docs are merged into master and are available on the README
https://github.com/Lednerb/bilberry-hugo-theme#algolia-search

I will close this now, if any issues still occur, feel free to re-open.

@Lednerb Lednerb closed this as completed May 28, 2020
@tvories
Copy link
Author

tvories commented May 29, 2020

So deleting my index and re-building it according to the new instructions does give me results, but it does not appear to be returning matches for the titles of my articles or tags.

For example, I have a title with the word Ansible in it. If I type Ansible, I get no results. The only results I get are the non-article pages on my site.

algolia

@Lednerb Lednerb reopened this May 29, 2020
@igor-baiborodine
Copy link
Collaborator

Hi Taylor,

I would be happy to investigate this issue in my local dev, but I don't see your website's repo is present in your GitHub account. Therefore, if you provide me with a repo zip, I will work on it.

Thanks,

Igor

@igor-baiborodine
Copy link
Collaborator

igor-baiborodine commented May 29, 2020

Hi Taylor,

This issue comes from using tag 1.14.0. You can compare index.json files produced by the master branch and tag 1.14.0.

You can clone this example site repo and test it in your local dev. There are two branches: master and tag-1.14.0. If you switch to the branch tag-1.14.0, you will get the same search behavior as you're currently experiencing on your website.

I hope this helps you.

Cheers,

Igor

@tvories
Copy link
Author

tvories commented Jun 1, 2020

@igor-baiborodine that fixed it! I used the master branch and was able to uplaod the latest index.json and the results are good now!

I was running 1.14.0 because it allowed me to set the site width without editing the sass/scss but it wasn't difficult to get npm running to fix that issue. Thanks for the help!

@tvories tvories closed this as completed Jun 1, 2020
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

4 participants