search.cli
Provides commands related to the onegov.search.
Attributes
Functions
|
Prints the percentage of indexed documents per model. |
|
Reindexes all objects in the elasticsearch and psql database. |
|
Prints the status of the psql index. |
Module Contents
- search.cli.psql_index_status(app: onegov.core.framework.Framework) None [source]
Prints the percentage of indexed documents per model.
- search.cli.reindex(group_context: onegov.core.cli.core.GroupContext, fail: bool) Callable[[CoreRequest, Framework], None] [source]
Reindexes all objects in the elasticsearch and psql database.
- search.cli.index_status(group_context: onegov.core.cli.core.GroupContext) Callable[[CoreRequest, Framework], None] [source]
Prints the status of the psql index.