MCPcopy Index your code
hub / github.com/blevesearch/bleve / Field

Interface Field

document/field.go:21–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19)
20
21type Field interface {
22 // Name returns the path of the field from the root DocumentMapping.
23 // A root field path is "field", a subdocument field is "parent.field".
24 Name() string
25 // ArrayPositions returns the intermediate document and field indices
26 // required to resolve the field value in the document. For example, if the
27 // field path is "doc1.doc2.field" where doc1 and doc2 are slices or
28 // arrays, ArrayPositions returns 2 indices used to resolve "doc2" value in
29 // "doc1", then "field" in "doc2".
30 ArrayPositions() []uint64
31 Options() index.FieldIndexingOptions
32 Analyze()
33 Value() []byte
34
35 // NumPlainTextBytes should return the number of plain text bytes
36 // that this field represents - this is a common metric for tracking
37 // the rate of indexing
38 NumPlainTextBytes() uint64
39
40 Size() int
41
42 EncodedFieldType() byte
43 AnalyzedLength() int
44 AnalyzedTokenFrequencies() index.TokenFrequencies
45}

Callers 51

NumPlainTextBytesMethod · 0.65
NameMethod · 0.65
GoStringMethod · 0.65
BestFragmentsInFieldMethod · 0.65
ArrayPositionsMethod · 0.65
postingToTermFieldDocMethod · 0.65
storeFieldMethod · 0.65
OptionsMethod · 0.65
GoStringMethod · 0.65
analyzeFunction · 0.65

Implementers 11

VectorBase64Fielddocument/field_vector_base64.go
TextFielddocument/field_text.go
NumericFielddocument/field_numeric.go
IPFielddocument/field_ip.go
GeoShapeFielddocument/field_geoshape.go
GeoPointFielddocument/field_geopoint.go
SynonymFielddocument/field_synonym.go
BooleanFielddocument/field_boolean.go
DateTimeFielddocument/field_datetime.go
CompositeFielddocument/field_composite.go
VectorFielddocument/field_vector.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…