MongoDB and ElasticSearch tools
Project description
Kerana
MongoDB and ElasticSearch tools
Description
Installation
Dependencies
This package requires elasticsearch and MongoDB for ES you can see https://github.com/colav/colasticsearch
Package
pip install Kerana
Usage
Example for SIIU
kerana --es_index siiu_project --mdb_name siiu --mdb_col project
Example for Scienti
kerana --es_index scienti_udea_2022_product --mdb_name scienti_udea_2022 --mdb_col product --bulk_size 100
kerana --es_index scienti_udea_2022_project --mdb_name scienti_udea_2022 --mdb_col project --bulk_size 100
kerana --es_index scienti_udea_2022_patent --mdb_name scienti_udea_2022 --mdb_col patent --bulk_size 100
kerana --es_index scienti_udea_2022_network --mdb_name scienti_udea_2022 --mdb_col network --bulk_size 100
kerana --es_index scienti_udea_2022_event --mdb_name scienti_udea_2022 --mdb_col event --bulk_size 100
TODO
- selective fields from MongoDB to ES
- Search text in ES and resolve from ids in MongoDB
- parallel load to ES from mongo
- restore/backup ES indexes
- support for config input to execute flows
License
BSD-3-Clause License
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Kerana-0.0.1a0.tar.gz
(4.8 kB
view hashes)