NewDocumentStaticMapping returns a new document mapping that will not automatically index parts of a document without an explicit mapping.
()
| 247 | // mapping that will not automatically index parts |
| 248 | // of a document without an explicit mapping. |
| 249 | func 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 |
no outgoing calls
searching dependent graphs…