search.integration
Classes
Provides elasticsearch and postgres integration for |
Functions
Module Contents
- class search.integration.SearchApp[source]
Bases:
morepath.App
Provides elasticsearch and postgres integration for
onegov.core.framework.Framework
based applications.The application must be connected to a database.
Usage:
from onegov.core import Framework class MyApp(Framework, ESIntegration): pass
- configure_search(**cfg: Any) None [source]
Configures the postgres fulltext search integration.
The following configuration options are accepted:
- Enable_search:
If True, postgres fulltext search is enabled (defaults to True).