tflorac / pyramid_es

Elasticsearch integration for Pyramid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyramid_es - Elasticsearch Integration for Pyramid

https://secure.travis-ci.org/storborg/pyramid_es.png https://coveralls.io/repos/storborg/pyramid_es/badge.png?branch=master https://pypip.in/v/pyramid_es/badge.png https://pypip.in/d/pyramid_es/badge.png

Scott Torborg - Cart Logic

pyramid_es is a pattern and set of utilities for integrating the elasticsearch search engine with a Pyramid web app. It is intended to make it easy to index a set of persisted objects and search those documents inside Pyramid views. Transactions are supported (designed to work with pyramid_tm) and a full test suite is included.

Docs are available at Read The Docs <http://pyramid-es.rtfd.org>.

Installation

Install with pip:

$ pip install pyramid_es

Example Usage

client = get_client(request)
result = client.query(Movie).\
    filter_term('year', 1987).\
    order_by('rating').\
    execute()

About

Elasticsearch integration for Pyramid

License:Other


Languages

Language:Python 100.0%