Documentation ¶
Index ¶
- Variables
- func BucketFromPropName(propName string) []byte
- func BucketFromPropNameLSM(propName string) string
- func BucketFromPropNameLengthLSM(propName string) string
- func BucketFromPropNameMetaCountLSM(propName string) string
- func BucketFromPropNameNullLSM(propName string) string
- func BucketSearchableFromPropNameLSM(propName string) string
- func MetaCountProp(propName string) string
- func PropLength(propName string) string
- func PropNull(propName string) string
- func TempBucketFromBucketName(bucketName string) string
- func Tokenize(tokenization string, in string) []string
- func TokenizeAndCountDuplicates(tokenization string, in string) ([]string, []int)
- func TokenizeWithWildcards(tokenization string, in string) []string
- type AllowList
- type AllowListIterator
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ObjectsBucket = []byte("objects") ObjectsBucketLSM = "objects" CompressedObjectsBucketLSM = "compressed_objects" DimensionsBucketLSM = "dimensions" DocIDBucket = []byte("doc_ids") )
View Source
var Tokenizations []string = []string{ models.PropertyTokenizationWord, models.PropertyTokenizationLowercase, models.PropertyTokenizationWhitespace, models.PropertyTokenizationField, }
Functions ¶
func BucketFromPropName ¶
BucketFromPropName creates the byte-representation used as the bucket name for a partiular prop in the inverted index
func BucketFromPropNameLSM ¶
BucketFromPropName creates string used as the bucket name for a particular prop in the inverted index
func BucketFromPropNameLengthLSM ¶ added in v1.18.0
func BucketFromPropNameMetaCountLSM ¶ added in v1.19.0
func BucketFromPropNameNullLSM ¶ added in v1.18.0
func BucketSearchableFromPropNameLSM ¶ added in v1.19.0
func MetaCountProp ¶
MetaCountProp helps create an internally used propName for meta props that don't explicitly exist in the user schema, but are required for proper indexing, such as the count of arrays.
func PropLength ¶ added in v1.19.0
func TempBucketFromBucketName ¶ added in v1.18.0
func TokenizeAndCountDuplicates ¶ added in v1.19.0
func TokenizeWithWildcards ¶ added in v1.19.0
Types ¶
type AllowList ¶
type AllowList interface { Insert(ids ...uint64) Contains(id uint64) bool DeepCopy() AllowList Slice() []uint64 Len() int IsEmpty() bool Size() uint64 Iterator() AllowListIterator LimitedIterator(limit int) AllowListIterator }
func NewAllowList ¶ added in v1.18.0
func NewAllowListFromBitmap ¶ added in v1.18.0
func NewAllowListFromBitmapDeepCopy ¶ added in v1.18.0
type AllowListIterator ¶ added in v1.18.0
Click to show internal directories.
Click to hide internal directories.