Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rockefellerarchivecenter/rac_es
Elasticsearch helpers
https://github.com/rockefellerarchivecenter/rac_es
elasticsearch project-electron
Last synced: 1 day ago
JSON representation
Elasticsearch helpers
- Host: GitHub
- URL: https://github.com/rockefellerarchivecenter/rac_es
- Owner: RockefellerArchiveCenter
- License: mit
- Created: 2019-10-06T15:28:02.000Z (about 5 years ago)
- Default Branch: base
- Last Pushed: 2024-11-12T19:44:55.000Z (4 days ago)
- Last Synced: 2024-11-12T20:27:42.497Z (4 days ago)
- Topics: elasticsearch, project-electron
- Language: Python
- Homepage:
- Size: 6.03 MB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rac_es
Helpers for Elasticsearch, including Analyzers and Documents.
[![Build Status](https://travis-ci.org/RockefellerArchiveCenter/rac_es.svg?branch=base)](https://travis-ci.org/RockefellerArchiveCenter/rac_es)
## 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](https://pre-commit.com/) 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](LICENSE).