Using sphinx search indexer and "runtime"

13 views
Skip to first unread message

Santiago Gala

unread,
Jul 28, 2020, 5:31:34 AM7/28/20
to sphinx-users

Hi, I have been using sphinx for a number of projects and I love it.

One of the things I specially like is that it generates static sites with search.

Now, for a different project I'm using Publii as static site generator, but I hate that it requires integration with some search service.

So I was wondering... is there an easy way to use Sphinx search indexer to generate the javascript index and add the static javascript search files to my website?

Thanks in advance

paulwe...@gmail.com

unread,
Jul 28, 2020, 9:11:12 AM7/28/20
to sphinx-users
Publii appears to be implemented in JavaScript. You could look at something like lunr which is a client-side search. It would require some programming in Publii. It looks like this is already discussed.

Sphinx's search support isn't a good option as your content would then have to be in Sphinx. You'd also have to get the build objects out of the generated Sphinx and back into your Publii.

Daniel Scott

unread,
Nov 25, 2020, 10:37:03 PM11/25/20
to sphinx...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/e41039b6-b08f-4608-b419-9ce8de993f96n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages