{
  "definition": "Choosing where or how a query should be handled, such as selecting a source, index, retriever, tool, model, strategy, or no-retrieval path.",
  "derivedRelations": [
    {
      "note": "Query decomposition creates subqueries or subproblems; query routing chooses the handling path or retrieval resource.",
      "target": "query-decomposition",
      "type": "notEquivalentTo"
    },
    {
      "note": "Retrieval planning chooses an overall retrieval strategy or sequence; query routing chooses a handling path, source, retriever, tool, or model for a query.",
      "target": "retrieval-planning",
      "type": "notEquivalentTo"
    },
    {
      "note": "Routing in classic IR uses standing queries or profiles over incoming documents; query routing chooses where or how a live query should be handled.",
      "target": "routing",
      "type": "notEquivalentTo"
    },
    {
      "target": "agentic-rag",
      "type": "related"
    },
    {
      "target": "retrieval-planning",
      "type": "related"
    }
  ],
  "distinctions": [
    {
      "reason": "Query routing chooses a path for a query; agentic retrieval describes an agent-controlled retrieval loop that may include routing decisions.",
      "statement": "Query Routing is not Agentic Retrieval.",
      "target": "agentic-retrieval",
      "targetLabel": "Agentic Retrieval",
      "targetUri": "https://id.searchplex.net/agentic-retrieval/"
    },
    {
      "reason": "Query routing may be used inside federated search for source selection, but federated search is the broader multi-source retrieval pattern.",
      "statement": "Query Routing is not Federated Search.",
      "target": "federated-search",
      "targetLabel": "Federated Search",
      "targetUri": "https://id.searchplex.net/federated-search/"
    },
    {
      "reason": "Query classification assigns a query to labels or categories; query routing uses query signals to choose a handling path, source, retriever, model, or strategy.",
      "statement": "Query Routing is not Query Classification.",
      "target": "query-classification",
      "targetLabel": "Query Classification",
      "targetUri": "https://id.searchplex.net/query-classification/"
    }
  ],
  "id": "query-routing",
  "kind": "Task",
  "license": "https://creativecommons.org/publicdomain/zero/1.0/",
  "links": [
    {
      "label": "Distributed Information Retrieval",
      "type": "canonicalSurvey",
      "url": "https://www.cs.cmu.edu/~callan/Papers/adcs.pdf"
    },
    {
      "label": "Efficient Federated Search for Retrieval-Augmented Generation",
      "type": "definingReference",
      "url": "https://arxiv.org/abs/2502.19280"
    }
  ],
  "modifiedAt": "2026-09-14T06:43:46Z",
  "prefLabel": "Query Routing",
  "publisher": {
    "name": "Searchplex",
    "url": "https://searchplex.net/"
  },
  "relations": [
    {
      "note": "Query routing chooses a path for a query; agentic retrieval describes an agent-controlled retrieval loop that may include routing decisions.",
      "target": "agentic-retrieval",
      "type": "notEquivalentTo"
    },
    {
      "note": "Query routing may be used inside federated search for source selection, but federated search is the broader multi-source retrieval pattern.",
      "target": "federated-search",
      "type": "notEquivalentTo"
    },
    {
      "note": "Query classification assigns a query to labels or categories; query routing uses query signals to choose a handling path, source, retriever, model, or strategy.",
      "target": "query-classification",
      "type": "notEquivalentTo"
    },
    {
      "note": "Often uses query-understanding signals to decide which source, retriever, model, or strategy should handle the query.",
      "target": "query-understanding",
      "type": "partOf"
    },
    {
      "target": "agentic-retrieval",
      "type": "related"
    },
    {
      "target": "federated-search",
      "type": "related"
    },
    {
      "target": "query-classification",
      "type": "related"
    },
    {
      "target": "rag",
      "type": "related"
    }
  ],
  "representations": {
    "html": "https://id.searchplex.net/query-routing/",
    "json": "https://id.searchplex.net/query-routing.json",
    "jsonld": "https://id.searchplex.net/query-routing.jsonld"
  },
  "scheme": "https://id.searchplex.net/scheme/",
  "scopeNote": "Query routing uses information about the query to make a control-flow decision. In distributed IR and federated search, it often means selecting sources or servers. In RAG and agentic systems, it may mean selecting among retrievers, tools, indexes, models, or retrieval strategies.",
  "status": "published",
  "terms": [
    {
      "community": "academic",
      "label": "Source Selection",
      "usage": "nearSynonym"
    },
    {
      "community": "academic",
      "label": "Resource Selection",
      "usage": "nearSynonym"
    },
    {
      "community": "industry",
      "label": "Router",
      "usage": "informal"
    }
  ],
  "uri": "https://id.searchplex.net/query-routing/"
}
