edgesearch 0.2.0

Serverless full-text search with Cloudflare Workers, WebAssembly, and Roaring Bitmaps
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Load before other modules which depend on macros in here.
#[macro_use]
mod util;
mod data;
pub mod build;
pub mod deploy;

// JavaScript and Roaring Bitmaps only support 32-bit integers.
#[allow(dead_code)]
type DocumentId = u32;
#[allow(dead_code)]
type Term = String;
#[allow(dead_code)]
type TermId = usize;