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(text string, opts ...FMIndexOption) (*FMIndex, error)
func (*FMIndex) CaseInsensitive ¶
func (*FMIndex) Compression ¶
func (*FMIndex) PrefixTree ¶
func (s *FMIndex) PrefixTree() *prefixtree.Prefix
type FMIndexOption ¶
type FMIndexOption func(f *FMIndex)
func WithCaseInsensitive ¶
func WithCaseInsensitive(caseinsensitive bool) FMIndexOption
func WithCompression ¶
func WithCompression(compression int) FMIndexOption
func WithPrefixTree ¶
func WithPrefixTree(prefix prefixtree.Prefix) FMIndexOption
Click to show internal directories.
Click to hide internal directories.