Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blugelabs/bluge
/ AddField
Method
AddField
document.go:51–54 ·
view source on GitHub ↗
(f Field)
Source
from the content-addressed store, hash-verified
49
}
50
51
func
(d *Document) AddField(f Field) *Document {
52
*d = append(*d, f)
53
return
d
54
}
55
56
// FieldConsumer is anything which can consume a field
57
// Fields can implement this interface to consume the
Callers
15
TestBooleanMustNotSearcher
Function · 0.95
TestBug408
Function · 0.95
TestInMemoryUsage
Function · 0.95
TestBug54
Function · 0.95
TestNestedBooleanSearchers
Function · 0.80
TestNestedBooleanMustNotSearcher
Function · 0.80
TestSearchOverEmptyKeyword
Function · 0.80
TestMultipleNestedBooleanMustNotSearchers
Function · 0.80
TestDisjunctionQueryIncorrectMin
Function · 0.80
TestBooleanShouldMinPropagation
Function · 0.80
TestDisjunctionMinPropagation
Function · 0.80
TestDuplicateLocationsIssue1168
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestBooleanMustNotSearcher
Function · 0.76
TestBug408
Function · 0.76
TestInMemoryUsage
Function · 0.76
TestBug54
Function · 0.76
TestNestedBooleanSearchers
Function · 0.64
TestNestedBooleanMustNotSearcher
Function · 0.64
TestSearchOverEmptyKeyword
Function · 0.64
TestMultipleNestedBooleanMustNotSearchers
Function · 0.64
TestDisjunctionQueryIncorrectMin
Function · 0.64
TestBooleanShouldMinPropagation
Function · 0.64
TestDisjunctionMinPropagation
Function · 0.64
TestDuplicateLocationsIssue1168
Function · 0.64