Construction is the offline step that builds the index.
Passage indexing of textual sources
Over the textual substrate, a unit and a query are both text, so is one text encoder shared between them, embedding each passage into a dense vector matched by similarity or indexing it as sparse lexical terms matched by word overlap.
Graph construction from relational sources
Over the relational substrate, the unit of retrieval is a subgraph, so has two parts, embedding each node's text label so a query can locate an entry node while keeping the graph structure itself as the index to traverse from there.
Structure indexing of structured-entity sources
Over the structured-entity substrate, an object carries no text to embed, so encodes it in its own form, a fingerprint, a descriptor, or a learned graph encoder for its structure, or a table of computed or measured values when retrieval is by property.
Cross-modal encoding of perceptual sources
Over the perceptual substrate, no encoder exists before construction, so and the query encoder must be trained together into one shared space, over the signal and over text, so that an inner product can later match them.