shellinford

package
v0.0.0-...-3726d21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2013 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FMIndex

type FMIndex struct {
	// contains filtered or unexported fields
}

func NewFMIndex

func NewFMIndex() *FMIndex

func OpenFMIndex

func OpenFMIndex(r io.Reader) (*FMIndex, error)

func (*FMIndex) Add

func (fmi *FMIndex) Add(doc []byte)

func (*FMIndex) Build

func (fmi *FMIndex) Build(endMarker byte, ddic int)

func (*FMIndex) Document

func (fmi *FMIndex) Document(did int) []byte

func (*FMIndex) DocumentId

func (fmi *FMIndex) DocumentId(pos int) int

func (*FMIndex) DocumentLen

func (fmi *FMIndex) DocumentLen() int

func (*FMIndex) Len

func (fmi *FMIndex) Len() int

func (*FMIndex) Pos

func (fmi *FMIndex) Pos(i int) int

func (*FMIndex) Rows

func (fmi *FMIndex) Rows(key []byte) (n, first, last int)

func (*FMIndex) Search

func (fmi *FMIndex) Search(key []byte) map[int]int

func (*FMIndex) SubBytes

func (fmi *FMIndex) SubBytes(pos, ln int) []byte

func (*FMIndex) Write

func (fmi *FMIndex) Write(w io.Writer) error

Directories

Path Synopsis
Package sort implemenets multikey quicksort.
Package sort implemenets multikey quicksort.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL