Python on OpenSearch: Bringing Native Python Scripting to Search and An...
summary
Plugin runs Python inside OpenSearch via GraalVM polyglot context, executing scripts with document fields and query parameters bound directly from Java; demos show regex and JSON extraction from logs, e‑commerce ranking using bundled NumPy, and live LLM HTTP calls at query time. Implementation uses AST parsing, a static semantic analyzer, hard timeouts and fresh contexts per execution. Current trade-offs: trusted sandbox for NumPy and 1.4–2.2× slower than Painless, plus third‑party libs require rebuilding the plugin; roadmap targets pooling, security policies, and optimizations.
AI-written summary · about
chapters (6)
- 0:00Python in OpenSearch
- 2:49Python scripting demos
- 8:20How Python plugin works
- 12:17Script contexts and limits
- 14:47Future plans
- 15:38Q&A security
related talks
14mUnconference: Python Now! An OpenSearch world with/in/on Python
19mSearch Solutions with OpenSearch, Python, and Serverless 🐍
29mFrom Java to Python: Migrating Search Functionality at billiger.de
39mPyScript - Python in the Browser
47mSupercharge your Java Applications with Python!
53mEmpower your Spring Applications with Python Features on GraalVM
24mSearch From the Ground Up
24mHarry Potter and the Elastic Python Clients
