Skip to main content

Summary

Simple ElasticSearch indexing integration for CubicWeb

Parameters

  • elasticsearch-locations (CW_ELASTICSEARCH_LOCATIONS)

  • index-name (CW_INDEX_NAME)

  • elasticsearch-verify-certs (CW_ELASTICSEARCH_VERIFY_CERTS)

  • elasticsearch-ssl-show-warn (CW_ELASTICSEARCH_SSL_SHOW_WARN)

Pyramid debug panel

To activate the debug panel, you’ll need to install pyramid_debugtoolbar, typically with:

pip install pyramid_debugtoolbar

Then, you’ll have activate the debug toolbar and include the ElasticSearch panel in your pyramid.ini:

pyramid.includes =

pyramid_debugtoolbar

debugtoolbar.includes =

cubicweb_elasticsearch.pviews.espanel

Alltext field

The cubicweb_elasticsearch.search_helpers.compose_search referencies a custom alltext field which contains all indexed text. This field must be defined in the custom Indexer mapping.

HTTPS and SSL certificates in communication with server

In some cases (ElasticSearch Kubernetes deployment for example), self signed certificates are used and can be ignored using elasticsearc-verify-certs, in this case, the python binding will issue warnings for each request, which is cumbersome when running requests in a ccplugin command. You can use elasticsearch-ssl-show-warn (CW_ELASTICSEARCH_SSL_SHOW_WARN) to remove those warnings (default is to show them). Most of the time, a better solution is to have proper certificates to authenticate the servers you are talking to.

Release files for cubicweb-elasticsearch 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cubicweb-elasticsearch 2.0.0
File Size Uploaded
cubicweb-elasticsearch-2.0.0.tar.gz 24.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cubicweb-elasticsearch 2.0.0
File Interpreter ABI Platform
cubicweb_elasticsearch-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.0 kB

Release files / cubicweb-elasticsearch-2.0.0.tar.gz

Download URL cubicweb-elasticsearch-2.0.0.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
befd002c5bfd3bf8843320232c19e63cc461405a667a844e536469ac5fa87f78
BLAKE2b-256 checksum
How to use checksums
624e86eeb20097feb229e95519e7185458fece49610288b3b9f00a83bee53852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / cubicweb_elasticsearch-2.0.0-py3-none-any.whl

Download URL cubicweb_elasticsearch-2.0.0-py3-none-any.whl
Size 24.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04870b1e5805986034fdb6000ebfe04fc1d089e30e3ec2cecc76358cfd0ca8ac
BLAKE2b-256 checksum
How to use checksums
f140b80ca630c4c0565c509cf8395764419676a24eab5fb36c17b6f69a8312e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

1 release file

0.10.0

1 release file

0.9.2

2 release files

0.9.1

2 release files

0.9.0

1 release file

0.8.0

1 release file

0.7.7

1 release file

0.7.6

1 release file

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.0

1 release file

0.6.2

1 release file

0.6.0

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page