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 support #8

Open
kakawait opened this issue Oct 9, 2016 · 9 comments
Open

Algolia support #8

kakawait opened this issue Oct 9, 2016 · 9 comments
Assignees
Milestone

Comments

@kakawait
Copy link
Owner

@kakawait kakawait commented Oct 9, 2016

No description provided.

@kakawait kakawait self-assigned this Oct 9, 2016
@kakawait kakawait added this to the 0.2.0-ALPHA milestone Oct 9, 2016
@kakawait kakawait modified the milestones: 0.3.0-BETA, 0.2.0-ALPHA, 0.5.0 Nov 14, 2016
@kakawait kakawait modified the milestones: 0.3.0-BETA, 0.4.0-BETA Dec 5, 2016
@kakawait kakawait modified the milestones: 0.4.0-BETA, 0.6.0 Apr 10, 2017
@kakawait
Copy link
Owner Author

@kakawait kakawait commented Apr 10, 2017

Invest new feature from Hugo 0.20 http://gohugo.io/extras/output-formats/

@willwade
Copy link

@willwade willwade commented May 8, 2017

We have recently got this working in our fork with a npm script:

see openassistive@525a0dc

and openassistive/OpenATFrontEnd@801776c

and to see it in practice: https://openassistive.org (click on search in nav).

We run it with npm run reindex || true && hugo to build the site

@ghost
Copy link

@ghost ghost commented May 8, 2017

https://www.algolia.com/pricing is a freemium tiered product. For those looking for search without paying for a product search can be added and scaled for free using open source tools such as Bloodhound by Twitter (or its logical successor) and https://www.lunrjs.com/.

If this were an e-commerce theme (which it's not), I would say the same thing.

@ghost
Copy link

@ghost ghost commented May 8, 2017

https://gist.github.com/sebz/efddfc8fdcb6b480f567

hugo + gruntjs + lunrjs = <3 search

@willwade
Copy link

@willwade willwade commented May 8, 2017

Two problems I see with this:

  1. The upstream project is using algolia and I know @kakawait wants to stick as closely as possible to that. Using a different JS library changes the project quite a bit
  2. If you have a lot of data - using Lunr isn't a great idea.
@ghost
Copy link

@ghost ghost commented May 8, 2017

Thanks for the info @willwade. Didn't realize the upstream was using Algolia. That's a shame IMO, as it leads individuals to rely on third parties when OSS can get them there free (one way or another), stymieing innovation as a result.

Regarding your second item, anyone having enough data to require something beyond Lunr probably isn't using this theme.

@willwade
Copy link

@willwade willwade commented May 8, 2017

I agree on that @jhabdas 👍 - they probably aren't.. although we are (it may not be for long to be honest..).

(Thanks for that gist by the way - I do love Lunr. I don't see a major problem by the way supporting it as well as algolia. do a fork ;) )

@kakawait
Copy link
Owner Author

@kakawait kakawait commented May 9, 2017

About upstream project, I'm not open to add more feature on that theme that may not exist on upstream project, but I'm trying to report at least everything feature (that seems relevant) from upstream project. That why Algolia support is tracked.

I'm sure Lunr I will check it but after Algolia, I can't work on both in same time (not enough time).

@willwade Thank for link I will check that. But as I said there is also new feature from Hugo 0.20 that should help.

@ghost
Copy link

@ghost ghost commented May 9, 2017

But as I said there is also new feature from Hugo 0.20 that should help.

And here it is:
https://gohugo.io/content/types/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.