{
  "id": "bbg-p0417-search-retrieval-and-rag-search",
  "title": "Database Type Selection Map",
  "chapter": "database-foundations",
  "batch": "27",
  "rank": 268,
  "sourcePage": 417,
  "sourcePointer": "p. 417",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "comparison",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render inspected",
      "preserve database type catalog: relational, columnar, key-value, in-memory, document, graph, time-series, text-search, blob, and vector stores",
      "retargeted from RAG chapter to database-foundations"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: relational database",
      "concept: key-value store",
      "concept: document database",
      "concept: graph database",
      "concept: vector database"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "transactions",
      "label": "Transactions",
      "x": 58,
      "y": 126,
      "w": 250,
      "h": 300
    },
    {
      "id": "analytics",
      "label": "Analytics and search",
      "x": 356,
      "y": 126,
      "w": 250,
      "h": 300
    },
    {
      "id": "special",
      "label": "Specialized data",
      "x": 654,
      "y": 126,
      "w": 250,
      "h": 300
    }
  ],
  "shapes": [
    {
      "id": "rel",
      "kind": "table",
      "label": "Relational",
      "detail": "rows tables",
      "x": 96,
      "y": 158,
      "w": 132,
      "h": 86,
      "tone": "blue"
    },
    {
      "id": "kv",
      "kind": "table",
      "label": "Key value",
      "detail": "fast lookup",
      "x": 96,
      "y": 292,
      "w": 132,
      "h": 86,
      "tone": "green"
    },
    {
      "id": "column",
      "kind": "table",
      "label": "Columnar",
      "detail": "analytics",
      "x": 394,
      "y": 158,
      "w": 132,
      "h": 86,
      "tone": "orange"
    },
    {
      "id": "text",
      "kind": "table",
      "label": "Text search",
      "detail": "ranking",
      "x": 394,
      "y": 292,
      "w": 132,
      "h": 86,
      "tone": "purple"
    },
    {
      "id": "graph",
      "kind": "table",
      "label": "Graph",
      "detail": "relations",
      "x": 692,
      "y": 158,
      "w": 132,
      "h": 86,
      "tone": "teal"
    },
    {
      "id": "vector",
      "kind": "table",
      "label": "Vector",
      "detail": "similarity",
      "x": 692,
      "y": 292,
      "w": 132,
      "h": 86,
      "tone": "red"
    },
    {
      "id": "choice",
      "kind": "diamond",
      "label": "Choose by",
      "detail": "query shape",
      "x": 414,
      "y": 464,
      "w": 132,
      "h": 84,
      "tone": "gray"
    }
  ],
  "connectors": [
    {
      "from": "rel",
      "to": "choice",
      "label": "ACID",
      "flow": "main"
    },
    {
      "from": "kv",
      "to": "choice",
      "label": "lookup",
      "flow": "data"
    },
    {
      "from": "column",
      "to": "choice",
      "label": "aggregate",
      "flow": "data"
    },
    {
      "from": "text",
      "to": "choice",
      "label": "search",
      "flow": "async"
    },
    {
      "from": "graph",
      "to": "choice",
      "label": "edges",
      "flow": "control"
    },
    {
      "from": "vector",
      "to": "choice",
      "label": "semantic",
      "flow": "control"
    }
  ]
}
