Comments (3)
Could you check the latest develop
and let me know if you like the output better? I added a stand by message when stuff was actually pushed, and added a "Nothing to index" message if your content is already up to date.
As for errors, I would rather only display the standby message when we actually start pushing things to the API. The error you are getting is early than that, when trying to get a list of the content already in the index. It's not technically pushing records, but reading them.
from jekyll-algolia.
The standby message just before pushing looks good for now. So technically, this request ticket has been resolved.. but..
in non-verbose mode, there's a period of silence between the reading of config file and outputting the above standby message, when nothing is output to the terminal.
So, i'd like to extend this feature request for more standby messages:
$ bundle exec jekyll algolia
Configuration file: [file-path]
Algolia: Processing site...
Extracting records...
Found 9 files
Pushing records to Algolia...
Pushing 50 records
✔ Indexing complete
I would also like to point out that the current set of messages differ between normal mode and verbose mode. I expected to see info level messages in both normal mode and verbose mode..
from jekyll-algolia.
The period of silence is actually Jekyll building the website (converting markdown to HTML, applying layout, etc). I've added logs for 'Processing site...' and 'Extracting records...'
It's pushed to develop
. I'll release a new version of the gem shortly
Also, info level messages should be displayed in both modes. But because the --verbose
flags also triggers the verbose of Jekyll itself it's possible you didn't see the message in the output.
from jekyll-algolia.
Related Issues (20)
- All indexed pages are entered as pagename#undefined HOT 1
- Are there release notes (for updates since 1.4.11)? HOT 1
- How to index more content than just the first few paragraphs after each heading HOT 1
- Duplicate element record item being pushed to algolia
- Using tags with Jekyll plugin ? HOT 2
- Issue with Jekyll collections HOT 2
- build fails with "Error: no implicit conversion of String into Integer" but --dry-run flag says "Indexing Complete" instead HOT 1
- Search across multiple Jekyll sites HOT 2
- Docs: jekyll-algolia + gh-pages + gh-actions HOT 4
- Unwanted attributes appearing in index HOT 13
- Drafts without dates not rendering correctly HOT 4
- Uncaught TypeError: Cannot read property 'value' of undefined HOT 1
- Jekyll algolia url does not include basehostname HOT 4
- object ids get deleted when content of page changes HOT 6
- Writing unit test cases for jekyll plugins need to access the context.registers.
- Error when deploying on Vercel HOT 2
- Request to update the version of instantsearch in the documentation to 2.10.5 HOT 2
- Jekyll Algolia Does Not Translate Markdown to HTML Resulting in Too Large Records
- undefined method `include?' for nil:NilClass HOT 1
- Docs site doesn't exist HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-algolia.