Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Seal ¶
func Seal(src Source, params common.SealParams) (*sealed.PreloadedData, error)
Seal writes five index files (.info, .token, .offsets, .id, .lid) for the fraction and returns PreloadedData for fast initialization of the sealed fraction.
Types ¶
type Source ¶
type Source = indexwriter.Source
Source defines the contract for data sources that can be sealed. Provides access to all necessary data components for index creation.