package
0.0.0-20250307125824-a98147b60236
Repository: https://github.com/knights-analytics/indexer.git
Documentation: pkg.go.dev

# Functions

NewBooleanFieldMapping returns a default field mapping for booleans.
NewDateTimeFieldMapping returns a default field mapping for dates.
NewDocumentDisabledMapping returns a new document mapping that will not perform any indexing.
NewDocumentMapping returns a new document mapping with all the default values.
NewDocumentStaticMapping returns a new document mapping that will not automatically index parts of a document without an explicit mapping.
NewGeoPointFieldMapping returns a default field mapping for geo points.
NewGeoShapeFieldMapping returns a default field mapping for geoshapes.
NewIndexMapping creates a new IndexMapping that will use all the default indexing rules.
NewIPFieldMapping returns a default field mapping for IP points.
NewKeywordFieldMapping returns a default field mapping for text with analyzer "keyword".
NewNumericFieldMapping returns a default field mapping for numbers.
No description provided by the author
NewTextFieldMapping returns a default field mapping for text.
No description provided by the author
No description provided by the author
SetLog sets the logger used for logging by default log messages are sent to io.Discard.
No description provided by the author

# Variables

TODO revisit default?.
control the default behavior for dynamic fields (those not explicitly mapped).
No description provided by the author
control the default behavior for dynamic fields (those not explicitly mapped).

# Structs

A DocumentMapping describes how a type of document should be indexed.
A FieldMapping describes how a specific item should be put into the index.
An IndexMappingImpl controls how objects are placed into an index.
No description provided by the author

# Interfaces

A Classifier is an interface describing any object which knows how to identify its own type.
No description provided by the author
A SynonymMapping extends the IndexMapping interface to provide additional methods for working with synonyms.