Creating a local distributed table

A distributed table in Manticore Search acts as a "master node" that proxies the demanded query to other tables and provides merged results from the responses it receives. The table doesn't hold any data on its own. It can connect to both local tables and tables located on other servers. A local distributed table is just a distributed table whose children are all local tables. If you only need to search several local tables together, you can query them directly instead of creating a distributed table. If you do create a local distributed table, in SQL you can specify multiple local tables either by repeating local='...' or by passing them as a comma-separated list in a single local='index1,index2' clause.

‹›
  • Config
  • SQL
  • PHP
  • Python
  • Python-asyncio
  • javascript
  • Java
  • C#
  • Rust
📋
table index_dist {
  type  = distributed
  local = index1
  local = index2
  ...
 }

Querying several local tables directly works in both SQL and JSON.

‹›
  • SQL
  • JSON
📋
SELECT * FROM index1, index2, index3;
Last modified: May 22, 2026