Comments (10)
@itsthecheat Are you still working on this? Asking because #4 will be affected by this feature.
from eleventy-garden.
How many notes should we expect to be searching through?
@binyamin I agree, the search will definitely become slower with more documents. I was only giving my thoughts for an expected number of notes within /notes/
to be searching through.
I don't want to make users comb through their notes, looking for which tags they use.
Agreed, the implementation I proposed in #33 will have to be updated to dynamically create related lists rather than what I've spun up for the first prototype.
from eleventy-garden.
FWIW, I implemented search on my personal Eleventy site with lunr (the "father" of Elasticlunr) and it works brilliantly and performs fairly well with nearly 1,000 pages.
from eleventy-garden.
Great idea.
Here are some relevant articles/solutions, for anyone tackling this issue:
- https://www.belter.io/eleventy-search/
- https://www.raymondcamden.com/2020/06/24/adding-algolia-search-to-eleventy-and-netlify
site search w/t google ?this service is gone
from eleventy-garden.
Hello,
If this is still available I'd be happy to work on it!
from eleventy-garden.
@itsthecheat Sure! Lmk if you need anything.
from eleventy-garden.
@tannerdolby @RosieCampbell How many notes should we expect to be searching through?
from eleventy-garden.
I was asking myself this question last night. Which made me think: How many hashtags should the project support? Currently the tags in #33 are hardcoded to look for (#art, #easter, #food) to produce lists of related notes.
Right now the project has 4 notes.
- art.md
- food.md
- bar.md
- Easter egg.md
I think we could expect to search for around 10 notes or < 20. Where this ceiling of notes to be searched can be updated as the project grows, allowing the search to index more notes.
As the number of notes increases, the potential for new hashtags arises. I think the number of hashtags could be set to a default 3 or something like? Allowing for more hashtags to be added via the tags.liquid
template.
from eleventy-garden.
Where this ceiling of notes to be searched can be updated as the project grows
@tannerdolby My intent was more that the search will get slower with more documents. If possible, I don't want to manually limit the number of items searched.
I think the number of hashtags could be set to a default 3 or something like?
I don't think we should limit the number of possible hashtags. I don't want to make users comb through their notes, looking for which tags they use.
from eleventy-garden.
I'm considering this out-of-scope. See #71 (comment)
from eleventy-garden.
Related Issues (20)
- Hosting through GitHub? HOT 2
- Getting started guide is unclear HOT 1
- Preview not appear on hover HOT 2
- Links don't work when they start with emojis HOT 1
- Need help with configuring 11ty-garden with an existing 11ty-ghost deployment. HOT 11
- List of backlinks are not reported in new MD files HOT 2
- Allow Obsidian style embedded links HOT 2
- Links to subfolders don't work as expected
- Is download broken? HOT 3
- No Backlinks HOT 6
- Dependency Dashboard
- GitIgnore filters eleventy output
- Can't serve current version HOT 10
- Action Required: Fix Renovate Configuration
- Conflict between wikilinks and permalinks HOT 6
- Separate content from config HOT 3
- Syntax highlight prism HOT 3
- Notes graph HOT 1
- Package into Eleventy plugin(s) HOT 3
- Backlinks behave differently in local and on github page HOT 4
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 eleventy-garden.