package
0.0.0-20220907150529-4ecbd2543f9e
Repository: https://github.com/stackrox/bleve.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
LevenshteinDistanceMax same as LevenshteinDistance but attempts to bail early once we know the distance will be greater than max in which case the first return val will be the max and the second will be true, indicating max was exceeded.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDocumentMatchPool will build a DocumentMatchPool with memory pre-allocated to accommodate the requested number of DocumentMatch instances.
No description provided by the author
NewSortGeoDistance creates SearchSort instance for sorting documents by their distance from the specified point.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

SortFieldAsDate forces sort as string (prefix coded terms with shift > 0 removed).
SortFieldAsNumber forces sort as string (prefix coded terms with shift > 0 removed).
SortFieldAsString forces sort as string (no prefix coded terms removed).
SortFieldAuto applies heuristics attempt to automatically sort correctly.
FIXME name is confusing.
SortFieldMax uses the maximum value.
SortFieldMin uses the minimum value.
SortFieldMissingFirst sorts documents missing a field at the beginning.
SortFieldMissingLast sorts documents missing a field at the end.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
DocumentMatchPool manages use/re-use of DocumentMatch instances it pre-allocates space from a single large block with the expected number of instances.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SearchContext represents the context around a single search.
No description provided by the author
SortDocID will sort results by the document identifier.
SortField will sort results by the value of a stored field Field is the name of the field Descending reverse the sort order (default false) Type allows forcing of string/number/date behavior (default auto) Mode controls behavior for multi-values fields (default first) Missing controls behavior of missing values (default last).
SortGeoDistance will sort results by the distance of an indexed geo point, from the provided location.
SortScore will sort results by the document match score.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DocumentMatchHandler is the type of document match callback bleve will invoke during the search.
DocumentMatchPoolTooSmall is a callback function that can be executed when the DocumentMatchPool does not have sufficient capacity By default we just perform just-in-time allocation, but you could log a message, or panic, etc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MakeDocumentMatchHandler is an optional DocumentMatchHandler builder function which the applications can pass to bleve.
No description provided by the author
No description provided by the author
SortFieldMissing controls where documents missing a field value should be sorted.
SortFieldMode describes the behavior if the field has multiple values.
SortFieldType lets you control some internal sort behavior normally leaving this to the zero-value of SortFieldAuto is fine.
No description provided by the author
No description provided by the author
No description provided by the author