• Stars
    star
    607
  • Rank 73,845 (Top 2 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 14 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python connector for ElasticSearch - the pythonic way to use ElasticSearch

pyes - Python ElasticSearch

Web:http://pypi.python.org/pypi/pyes/
Download:http://pypi.python.org/pypi/pyes/
Source:http://github.com/aparo/pyes/
Documentation:http://pyes.rtfd.org/
Keywords:search, elastisearch, distribute search

--

[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aparo/pyes?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

pyes is a pythonic way to use ElasticSearch since 2010.

This version requires elasticsearch 1.x or above. It's a pre release for pyes 1.x. Give a look to migrations documentation to upgrade you code for ElasticSearch 1.x.

We are working to provide full support to ElasticSearch 1.x (check the develop branch: we are using the git-flow workflow) that'll have:

  • connection based on Official ElasticSearch client ??
  • full support to ElasticSearch 1.x (removed old support due incompatibility with old version of ES)
  • migration from multi_field to >field>.fields
  • refactory of old code to be more pythonic
  • performance improvements

Features

  • Python3 support (only HTTP, thrift lib is not available on python3)
  • Thrift/HTTP protocols
  • Bulk insert/delete
  • Index management
  • Every search query types
  • Facet Support
  • Aggregation Support
  • Geolocalization support
  • Highlighting
  • Percolator
  • River support

Changelog

  1. 0.99.0:

    Migrated many code to ElasticSearch 1.x

    Full coverage for actual queries

  1. 0.99:

    Added aggregation

    Fix for python3 compatibility

    Upgraded code to use ElasticSearch 1.x or above

  1. 0.90.1:

    Bug Fix releases for some python3 introduced regression

  1. 0.90.0:

    A lot of improvements.

    Python 3 support.

Migration to version 0.99

CustomScoreQuery has been removed. The FunctionScoreQuery with its functions cover the previous functionalities. For scripting use ScriptScoreFunction.

TODO

  • much more documentation
  • add coverage
  • add jython native client protocol

License

This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.

More Repositories

1

django-elasticsearch

Django ElasticSearch Backend
Python
142
star
2

awesome-zio

A big collection of useful ZIO links
Python
137
star
3

django-mongodb-engine

A MongoDB backend standing outside django.
Python
55
star
4

opensearch-prometheus-exporter

OpenSearch Prometheus Exporter (fork of https://github.com/vvanholl/elasticsearch-prometheus-exporter)
Java
42
star
5

elasticsearch-cookbook-second-edition

ElasticSearch CookBook Second Edition - Code repository
Shell
41
star
6

opensearch-analysis-ik

The IK Analysis plugin integrates Lucene IK analyzer into OpenSearch, support customized dictionary. Port of https://github.com/medcl/elasticsearch-analysis-ik
Java
39
star
7

play-json-extra

Play Json Extra extends Play Json with several opinionated features
Scala
22
star
8

elasticsearch-7.x-cookbook

Code for the Book - ElasticSearch 7.x Cookbook
Shell
17
star
9

opensearch-learning-to-rank

Fork of https://github.com/o19s/elasticsearch-learning-to-rank to work with OpenSearch
Java
16
star
10

elasticsearch-cookbook-third-edition

Code for the ElasticSearch Cookbook Third Edition - targeting Elasticsearch 5.x
Shell
13
star
11

scalajs-react-extra

Extra library wrapper for react and standard Javascript library (mapped using react vdom)
Scala
12
star
12

djangotoolbox

THIS REPO IS OBSOLETE. Use
Python
10
star
13

awesome-opensearch

A list of curated OpenSearch links
Python
9
star
14

opensearch-ingest-opennlp

Port of https://github.com/spinscale/elasticsearch-ingest-opennlp to OpenSearch
Java
8
star
15

Pydev-Django-Extension

It's a Pydev extension to integrate a django.
Java
6
star
16

zio-elasticsearch

ElasticSearch client for Scala based on ZIO and FP
Scala
6
star
17

elasticsearch-cookbook

PacktPub ElasticSearch CookBook book code repository
Shell
6
star
18

opensearch-analysis-pinyin

This Pinyin Analysis plugin is used to do conversion between Chinese characters and Pinyin. Port of https://github.com/medcl/elasticsearch-analysis-pinyin
Java
6
star
19

scalajs-joda

Joda Datetime facade based on momentjs for scalajs
Scala
5
star
20

circe-xml

Xml support for Circe. Convert circe <-> xml
Scala
5
star
21

opensearch-client-generator

OpenDistro Client code generator to be used with Elasticsearch
TypeScript
4
star
22

nosqlkit

NoSqlKit for python is a multi NoSQL engine ORM
Python
3
star
23

scalajs-supler

ScalaJS supler implementation
Scala
3
star
24

akka-kafka-es-ingestion

Example of using Akka Stream with Kafka and ElasticSearch
Scala
2
star
25

elasticsearch-geonames-locator

Elasticsearch Geonames Locator
Scala
2
star
26

opensearch-ingest-langdetect

Ingest processor doing language detection for fields. Port of https://github.com/spinscale/elasticsearch-ingest-langdetect
Java
2
star
27

opensearch-analysis-stconvert

STConvert is analyzer that convert chinese characters between traditional and simplified.中文简繁體互相转换. Port of https://github.com/medcl/elasticsearch-analysis-stconvert
Java
2
star
28

kafka-integration-patterns

Kafka integration patterns
Scala
1
star
29

thrift3

Thrift for python3
Python
1
star
30

zio-mongodb

A reactive based client for MongoDB based on ZIO (https://zio.dev/)
Scala
1
star
31

scalajs-react-testbed

Testing stuff for scalajs-react
JavaScript
1
star
32

kwegg

The futuristic news reader. Use openNLP to extract noun phrases from the every line and thence convert it to speech.
Java
1
star
33

fp-training-scala

Configuration for a training Environment in Scala for functional programming
Scala
1
star
34

scalajs-converter

Converter from HTML and JS, to scalajs-react and scalajs-DOM. (Working in progress)
JavaScript
1
star
35

opendistro-flattened-mapper-plugin

Opendistro Flattened Mapper Plugin to be able to load Kibana indices for ES 7.10.x or above in OpenDistro
Scala
1
star
36

scalajs-elasticsearch

ScalaJS client for ElasticSearch
1
star