Skip to main content

Helpers for Rockefeller Archive Center's Elasticsearch implementation.

Project description

rac_es

Helpers for Elasticsearch, including Analyzers and Documents.

Build Status

Setup

Make sure this library is installed:

$ pip install rac_es

Usage

You can then use rac_es in your Python code by importing it:

import rac_es

What's Here

Analyzers

rac_es includes analyzers which provide custom processing of text fields.

Documents

The Elasticsearch Document definitions in rac_es match the four main object types in the RAC data model: Agents, Collections, Objects and Terms. In addition to these definitions, rac_es provides custom search and save methods for these Documents, including bulk save and delete methods.

Development

This repository contains a configuration file for git pre-commit hooks which help ensure that code is linted before it is checked into version control. It is strongly recommended that you install these hooks locally by installing pre-commit and running pre-commit install.

License

This code is released under an MIT License.

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

rac_es-1.0.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

rac_es-1.0.0-py3-none-any.whl (7.1 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