lib/fm-index.jsx

__export__ class FMIndex

new FMIndex()

__export__ function clear() : void

__export__ function size() : int

__export__ function contentSize() : int

function getRows(key : string) : int

__export__ function getRows(key : string, pos : Array.<int>) : int

__export__ function getPosition(i : int) : int

__export__ function getSubstring(pos : int, len : int) : string

function build(ddic : int) : void

__export__ function build(ddic : int, maxChar : Nullable.<int>) : void

__export__ function push(doc : string) : void

__export__ function search(keyword : string) : Array.<int>

__export__ function dump(output : BinaryOutput) : void

__export__ function load(input : BinaryInput) : void