package
2.0.6+incompatible
Repository: https://github.com/golang/appengine.git
Documentation: pkg.go.dev
# Functions
AtLeast returns a Range matching any value greater than, or equal to, min.
AutoFacetDiscovery returns a FacetSearchOption which enables automatic facet discovery for the search.
FacetDiscovery returns a FacetSearchOption which selects a facet to be returned with the search results.
FacetDocumentDepth returns a FacetSearchOption which controls the number of documents to be evaluated with preparing facet results.
LessThan returns a Range matching any value less than max.
LoadStruct loads the fields from f to dst.
Open opens the index with the given name.
SaveStruct returns the fields from src as a slice of Field.
# Variables
Done is returned when a query iteration has completed.
ErrInvalidDocumentType is returned when methods like Put, Get or Next are passed a dst or src argument of invalid type.
ErrNoSuchDocument is returned when no document was found for a given ID.
ErrTooManyDocuments is returned when the user passes too many documents to PutMulti or DeleteMulti.
MatchScorer assigns a score based on term frequency in a document.
RescoringMatchScorer assigns a score based on the quality of the query match.
# Structs
DocumentMetadata is a struct containing information describing a given document.
ErrFacetMismatch is returned when a facet is to be loaded into a different type than the one it was stored from, or when a field is missing or unexported in the destination struct.
ErrFieldMismatch is returned when a field is to be loaded into a different than the one it was stored from, or when a field is missing or unexported in the destination struct.
Facet is a name/value pair which is used to add categorical information to a document.
FacetResult represents the number of times a particular facet and value appeared in the documents matching a search request.
Field is a name/value pair.
FieldExpression defines a custom expression to evaluate for each result.
Index is an index of documents.
Iterator is the result of searching an index for a query or listing an index.
ListOptions are the options for listing documents in an index.
Range represents a numeric range with inclusive start and exclusive end.
SearchOptions are the options for searching an index.
SortExpression defines a single dimension for sorting a document.
SortOptions control the ordering and scoring of search results.
# Interfaces
FacetSearchOption controls what facet information is returned in search results.
FieldLoadSaver can be converted from and to a slice of Fields with additional document metadata.
A Scorer defines how a document is scored.