╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ search_thread.zig ────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
92 } 93 94 // the text a thread is indexed under: the title and tags first, so the 95 // tokenizer's caps can only drop the tail of a long description. 96 fn text(aa: std.mem.Allocator, value: Doc) ![]const u8 { 97 return std.mem.concat(aa, u8, &.{ value.title, " ", value.tags, " ", value.description }); 98 } 99