Skip to main content

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

http://colav.udea.edu.co/

Project details


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)

Uploaded Source

Built Distribution

Kerana-0.0.1a0-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page