Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Elastic Search Index & Search

Project Description

Elasticsearch Index & Search

Features

  • Index content for every SQLite database row in Elasticsearch
  • Search indexed content

Usage

  • Index every SQLite database row under a given directory (recursively)
esis index <directory>
  • Search for a given string in the indexed data
esis search <query>
  • Get information about the number of indexed documents
esis count
  • Delete all indexed documents
esis clean

Docker containers

Docker files are included in the source code to run esis and elasticsearch in their own containers. To build/pull the images needed to run esis and start the elasticsearch server, use the following commands:

docker-compose build
docker-compose start

After that, to launch esis in a container run:

docker-compose run esis <subcommand>

where <subcommand> is any of the subcommands in the previous section (index, search, count or clean).

Note:

  • If docker-compose run is executed too quickly, then a connection error might be returning meaning that elasticsearch is still initializing.
  • The entry point in the esis container uses the –host command line option to connect to the linked container where elasticsearch is running.
  • The user home directory is mounted in the esis container as /data. This must be taken into account when passing a directory to the index subcommand using a path in the container, not in the host machine.

History

0.1.0 (2015-03-23)

  • First release on PyPI.

0.2.0 (2015-05-14)

  • All documents indexed under the same index name.
  • Docker files allow using the tool in a container.
Release History

Release History

This version
History Node

0.2.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
esis-0.2.0-py2.py3-none-any.whl (15.9 kB) Copy SHA256 Checksum SHA256 2.7 Wheel May 13, 2015
esis-0.2.0.tar.gz (29.1 kB) Copy SHA256 Checksum SHA256 Source May 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting