A search engine you can use right away: Search
PolarDB-X Search is a standalone, OpenSearch 3.0-compatible search engine. Inverted indexes, vector kNN, BM25 hybrid ranking and Dashboards are all ready — one claim gets you a public REST endpoint and a dedicated account.
- Standard OpenSearch REST API — any HTTP client connects directly, no SDK required
- Chinese analyzers, vector kNN and hybrid search out of the box, a natural fit for RAG
- Dedicated cluster per claim: public endpoint + private account + IP whitelist, destroyed on release
How this differs from the Vector section on the home page: there you query vector columns with SQL inside PolarDB-X, which suits existing business tables; here you get a standalone search engine, which suits full-text-first workloads that need BM25 and vector scores blended together.
Read https://zero.polardbx.com/pxsearch/SKILL.md and follow the instructions to claim a PXSearch cluster.
PXSearch Cluster
BetaClaim a dedicated OpenSearch-compatible cluster from the warm pool
Loading...
Search in 4 steps
Create an index, bulk load, run full-text search, then vector and hybrid search — all with plain curl.
export PXS_URL='http://pxs-xxxxxxxx-pub.polarxsearch.rds.aliyuncs.com:9200'
export PXS_AUTH='<USERNAME>:<PASSWORD>'
# 连通性自检:返回集群名与版本即为地址和账号可用
curl -sS -u "$PXS_AUTH" "$PXS_URL"
# 建索引:开 kNN + 中文分词 + 4 维向量字段
# 集群至少 2 个数据节点,replicas=1 有地方放,health 能到 green
curl -sS -u "$PXS_AUTH" -XPUT "$PXS_URL/docs" \
-H 'Content-Type: application/json' -d '{
"settings": { "index": { "knn": true, "number_of_shards": 1, "number_of_replicas": 1 } },
"mappings": { "properties": {
"title": { "type": "text", "analyzer": "ik_max_word" },
"content": { "type": "text", "analyzer": "ik_max_word" },
"embedding": {
"type": "knn_vector", "dimension": 4,
"method": { "name": "hnsw", "engine": "faiss", "space_type": "l2" }
}
} }
}'The commands use placeholder values. Claim a cluster above and the real endpoint and credentials will be filled in automatically.
What you get
A complete search engine, with full-text and vectors in the same index.
Full-text Search
Full-textInverted indexes and analyzers
- ik_max_word / ik_smart Chinese analyzers
- BM25 relevance scoring with custom boosts
- Highlighting, aggregations, sorting, pagination
- Synonyms, stopwords and custom dictionaries
Vector Search
Vector kNNNative knn_vector field type
- HNSW graph index on faiss / nmslib
- l2 / cosine / inner-product distances
- Filtered kNN queries supported
- Vectors stored beside structured fields
Hybrid & AI
Hybrid & RAGBlend both recall paths in one query
- Weighted fusion of BM25 and vector scores
- Drop-in retrieval layer for RAG
- Standard REST — works with LangChain and friends
- Official search Skill built in for Agents
Dashboards & Ops
DashboardsWeb console included
- Dev Tools console for ad-hoc queries
- Discover for browsing docs and fields
- Visualize for charts and dashboards
- IP whitelist on the public endpoint
Cluster lifecycle
Claim, index, search — the platform reclaims everything at expiry.
Claim
Claim
Take a prewarmed dedicated cluster from the pool; the public REST endpoint, account credentials and Dashboards URL are issued to you.
Index
Index
Create an index with curl: attach an analyzer to text fields and declare knn_vector for vectors. Note that knn can only be enabled at index creation time.
Search
Search
Use full-text, vector or hybrid queries — or open Dashboards for interactive exploration.
Destroy
Destroy
Release manually or let the TTL expire — the whole cluster is destroyed and never reused.
Note: TTL expiry is a hard delete, not a shutdown. The cluster, its indices and all data are destroyed and cannot be recovered — never keep this as the only copy of data you care about.