search

package
v0.0.0-...-04a9449 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

A Search Package for unstable/bbolt.

Index

Constants

This section is empty.

Variables

View Source
var E_Bucket_Full = errors.New("E_Bucket_Full")

Functions

func I2B

func I2B(id uint32) []byte

Types

type TextInserter

type TextInserter struct {
	Doc, Index *bbolt.Bucket
}

func (*TextInserter) InsertText

func (ti *TextInserter) InsertText(text []byte) (id uint32, err error)

func (*TextInserter) RemoveDoc

func (ti *TextInserter) RemoveDoc(id uint32) (err error)

func (*TextInserter) Search

func (ti *TextInserter) Search(phrase []byte) (bmp *roaring.Bitmap, err error)

Jump to

Keyboard shortcuts

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