17_query_source

command
v2.111.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command query_source shows an external search engine acting as one retrieval lane inside CortexDB, without becoming CortexDB's storage.

The distinction is the whole point. Meilisearch is excellent at finding text and cannot hold a knowledge graph, a session, an ontology or a transaction. So it is given the job it is good at — naming candidates — and CortexDB keeps the one it is good at: owning the data and fusing the lanes.

Run a Meilisearch first (any port; this defaults to a deliberately unusual one):

docker run -d --name meili -p 127.0.0.1:43530:7700 \
  -e MEILI_MASTER_KEY=dev-key -e MEILI_ENV=development getmeili/meilisearch:v1.11
MEILI_URL=http://127.0.0.1:43530 MEILI_KEY=dev-key go run ./examples/17_query_source

With no Meilisearch reachable it says so and exits — a demo that silently proved nothing would be worse than no demo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL