roaring

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitmapFromPostingsList added in v0.5.0

func BitmapFromPostingsList(pl postings.List) (*roaring.Bitmap, bool)

BitmapFromPostingsList returns a bitmap from a postings list if it is a roaring bitmap postings list.

func NewPostingsList

func NewPostingsList() postings.MutableList

NewPostingsList returns a new mutable postings list backed by a Roaring Bitmap.

func NewPostingsListFromBitmap added in v0.5.0

func NewPostingsListFromBitmap(bitmap *roaring.Bitmap) postings.MutableList

NewPostingsListFromBitmap returns a new mutable postings list using an existing roaring bitmap.

func Union added in v0.4.6

func Union(inputs []postings.List) (postings.MutableList, error)

Union retrieves a new postings list which is the union of the provided lists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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