Instance Method
finalize(estimatedCount:emitJSONRepresentation:emitLMDBRepresentation:)
Finalize the process by writing the content on disk.
func finalize(estimatedCount: Int? = nil, emitJSONRepresentation: Bool = true, emitLMDBRepresentation: Bool = true)
Parameters
estimatedCountAn estimate of the number of nodes in the navigator index.
emitJSONRepresentationWhether or not a JSON representation of the index should be written to disk.
Defaults to true.
emitLMDBRepresentationWhether or not an LMDB representation of the index should written to disk.
Defaults to true.
Discussion
By default this function writes out the navigator index to disk as an LMDB database but emitting a JSON representation of the index is also supported.