Search Sync Python Module¶
Sync the database to elasticsearch index for use by Searching tools.
-
pacifica.policy.search_sync.
create_worker_threads
(threads, work_queue)[source]¶ Create the worker threads and return the list.
-
pacifica.policy.search_sync.
generate_work
(items_per_page, work_queue, time_ago)[source]¶ Generate the work from the db and send it to the work queue.