OllieJones / sss

Super Sonic Search WordPress plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Super Sonic Search plugin

This uses Valerian Saliou's fabulous high performance Sonic text search engine in your WordPress site.

Your audience gets flexible typo-tolerant search and autocompletion.

Setting up Sonic for development

Sonic is an executable program in the Rust language. It needs to be running for this plugin to work.

To build it from source, do this on the same OS version where the plugin will run. (TODO this isn't satisfactory for deployment, but let's get everything working first.)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt install build-essential clang libclang-dev libc6-dev g++ llvm-dev
git clone git@github.com:valeriansaliou/sonic.git
cd sonic/
cargo build --release
cd target/release

Run it with

sonic --config ./sonic/config.cfg

About

Super Sonic Search WordPress plugin

License:GNU General Public License v2.0


Languages

Language:PHP 99.9%Language:JavaScript 0.1%Language:CSS 0.0%