Sphinx new search page using SQL.js and SQLite database included FTS extension.
Note
This is migrated to atsphinx-sqlite3fts, and it stop manintenance.
This is sphinx extension to provide search component with full-text search database.
When sphinx-build runs with this extension, builder generate these components.
- SQLite database with FTS extension
- Records of all documents
- Search page HTML with sql.js
This will be useful when you want to embed strong full-text search with keeping static-site structure.
This is not published on PyPI.
pip install git+https://github.com/attakei-lab/sphinx-sqlite3fts.git- Register extension into your
conf.pyand configure it.
extensions = [
#
# Other extensions
#
"sphinx_sqlite3fts", # Add it
]- Run builder (html-based builder only).
sphinx-build -M html source build- To try it in local, use
http.servermodule.
python -m http.server -d build
Please access http://localhost:8000/search.html