package jobs // ExtractMaterialTextKind is the River kind of the file text extraction job. const ExtractMaterialTextKind = "jz.bm.extract_material_text" // ExtractMaterialTextArgs are the arguments of the job that extracts the // text of a material's new PDFs and resyncs its search document. It is // enqueued inside every attach transaction, so it exists only when the // files committed. type ExtractMaterialTextArgs struct { MaterialID uint `json:"material_id"` } // Kind is the job kind. func (ExtractMaterialTextArgs) Kind() string { return ExtractMaterialTextKind }