November 2014
Intermediate to advanced
258 pages
5h 15m
English
Whoosh is a fast, featureful, full-text indexing and searching library implemented in Python. It has a pure Pythonic API and allows developers to add search functionality to their applications easily and efficiently. In this recipe, we will use a package called Flask-WhooshAlchemy, which integrates the text-search functionality of Whoosh with SQLAlchemy for use in Flask applications.
The Flask-WhooshAlchemy package can be installed via pip using the following command:
$ pip install flask_whooshalchemy
This will install the required packages and dependencies.
Integrating Whoosh with Flask using SQLAlchemy is pretty straightforward. First, we need to provide the path to the Whoosh base directory ...
Read now
Unlock full access