Closed selfmaking closed 7 years ago
Hey @selfmaking . thanks for re-creating the issue.
The error say that you didn't provide an application ID. The problem should come from your configuration file. Copy your main _config.yml
please
@LouisBarranqueiro _config.txt
you did a mistake in your configuration.
replace applicationID
by appId
.
algolia:
appId: "Z7A3XW4R2I" // here
apiKey: "12db1ad54372045549ef465881c17e743"
adminApiKey: "40321c7c207e7f73b63a19aa24c4761b"
chunkSize: 5000
indexName: "my-hexo-blog"
fields:
- title
- tags
- slug
- excerpt
- excerpt:strip
- photos
- gallery
@LouisBarranqueiro thank you very much ,it work.
when I run hexo algolia
but the algolia plugin can popping.
but the layout looks weird and when I input keyword, it doesn't work.
as it said. you reach the max number of operations for this month. Check Hacker plan
It can pop even if you exceeded max limit but search will not works.
Ah...but this month just started .
Go check usage on your account to see what going on
@LouisBarranqueiro my mistake, algolia need renewal every month. thanks.
now, when I runhexo algolia
always 0 post indexed, I don't know why
@LouisBarranqueiro I have already solved, thanks for your help.
your welcome :)
@selfmaking I wonder how to solve 0 post indexed problem ???
@PeoceWang run hexo clean
and 'hexo g',I just clean cache, you can try
@selfmaking Tks, I found my solution.
Just execute hexo algolia
&& hexo d
Instead of hexo g
&& hexo algolia
&& hexo d
.
@LouisBarranqueiro Maybe 'hexo g' should behind 'hexo algolia'
@selfmaking In my PC ' hexo g ' is not necessarily (' hexo algolia') = ( 'hexo algolia' + 'hexo g')
@LouisBarranqueiro I just tried it on, when I run hexo algolia
also can create html files. so maybe it include hexo g
what's the problem?
@LouisBarranqueiro You may should modify official documentation, cause ' hexo g ' is not necessarily after ' hexo algolia ' , And what' worse is if I run ' hexo algolia ' after ' hexo g ' , IT CAN NOT GENERATE INDEX !!!
this is not related to the theme. open an issue on the hexo-algolia repository.
@PeoceWang Thanks!! you save my time!
Configuration
when I run "hexo algolia"
and when I clicked search button, there is no response