Documentation ¶
Index ¶
- type FMIndex
- func (fmi *FMIndex) Add(doc []byte)
- func (fmi *FMIndex) Build(endMarker byte, ddic int)
- func (fmi *FMIndex) Document(did int) []byte
- func (fmi *FMIndex) DocumentId(pos int) int
- func (fmi *FMIndex) DocumentLen() int
- func (fmi *FMIndex) Len() int
- func (fmi *FMIndex) Pos(i int) int
- func (fmi *FMIndex) Rows(key []byte) (n, first, last int)
- func (fmi *FMIndex) Search(key []byte) map[int]int
- func (fmi *FMIndex) SubBytes(pos, ln int) []byte
- func (fmi *FMIndex) Write(w io.Writer) error
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 (*FMIndex) DocumentId ¶
func (*FMIndex) DocumentLen ¶
Click to show internal directories.
Click to hide internal directories.