Skip to content
Weave templates

Search architecture

Indexer → inverted index → query path with ranker.

Template previewWeave
Rendering…

Make it your own.

{
  "nodes": [
    { "id":"src","type":"rect","label":"Source docs","x":40,"y":80,"fill":"#e2e8f0","stroke":"#475569" },
    { "id":"idx","type":"rect","label":"Indexer","x":220,"y":80,"fill":"#fed7aa","stroke":"#c2410c" },
    { "id":"inv","type":"rect","label":"Inverted index","x":420,"y":80,"fill":"#fef3c7","stroke":"#a16207" },
    { "id":"q","type":"ellipse","label":"Query","x":40,"y":280,"fill":"#dbeafe","stroke":"#2563eb" },
    { "id":"qp","type":"rect","label":"Query parser","x":220,"y":280,"fill":"#ede9fe","stroke":"#6d28d9" },
    { "id":"re","type":"rect","label":"Retriever","x":420,"y":280,"fill":"#ede9fe","stroke":"#6d28d9" },
    { "id":"rk","type":"rect","label":"Ranker","x":640,"y":280,"fill":"#fed7aa","stroke":"#c2410c" },
    { "id":"res","type":"ellipse","label":"Results","x":860,"y":280,"fill":"#dcfce7","stroke":"#15803d" }
  ],
  "edges": [
    { "id":"a","source":"src","target":"idx" },
    { "id":"b","source":"idx","target":"inv" },
    { "id":"c","source":"q","target":"qp" },
    { "id":"d","source":"qp","target":"re" },
    { "id":"e","source":"inv","target":"re","label":"postings" },
    { "id":"f","source":"re","target":"rk" },
    { "id":"g","source":"rk","target":"res" }
  ]
}