Documentation
    Preparing search index...
    PAYLOAD_FIELD: {
        chunkIndex: "chunk_index";
        chunkText: "chunk_text";
        contentHash: "content_hash";
        createdAt: "created_at";
        filePath: "file_path";
        lineEnd: "line_end";
        lineStart: "line_start";
        matchedRules: "matched_rules";
        modifiedAt: "modified_at";
        source: "source";
        sourceRule: "source_rule";
        totalChunks: "total_chunks";
    } = ...

    Payload fields written by the watcher itself, by role. The single definition of these names: the service's pipeline constants and RESERVED_PAYLOAD_FIELDS derive from it.

    Type Declaration

    • ReadonlychunkIndex: "chunk_index"

      Zero-based chunk index.

    • ReadonlychunkText: "chunk_text"

      The chunk text.

    • ReadonlycontentHash: "content_hash"

      SHA-256 hash of the embedded text.

    • ReadonlycreatedAt: "created_at"

      Creation timestamp (unix seconds).

    • ReadonlyfilePath: "file_path"

      Normalized file path (file points only).

    • ReadonlylineEnd: "line_end"

      1-indexed line where the chunk ends.

    • ReadonlylineStart: "line_start"

      1-indexed line where the chunk starts.

    • ReadonlymatchedRules: "matched_rules"

      Names of the rules that matched.

    • ReadonlymodifiedAt: "modified_at"

      Modification timestamp (unix seconds).

    • Readonlysource: "source"

      Source reference <name>://<id> (source points only).

    • ReadonlysourceRule: "source_rule"

      Designated rule of a source document (source points only).

    • ReadonlytotalChunks: "total_chunks"

      Total number of chunks of the document.