MCPcopy Create free account
hub / github.com/blevesearch/bleve / NewDocumentStaticMapping

Function NewDocumentStaticMapping

mapping/document.go:249–253  ·  view source on GitHub ↗

NewDocumentStaticMapping returns a new document mapping that will not automatically index parts of a document without an explicit mapping.

()

Source from the content-addressed store, hash-verified

247// mapping that will not automatically index parts
248// of a document without an explicit mapping.
249func NewDocumentStaticMapping() *DocumentMapping {
250 return &DocumentMapping{
251 Enabled: true,
252 }
253}
254
255// NewNestedDocumentStaticMapping returns a new document
256// mapping that treats sub-documents as nested

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…