func AddJobIndexes(indexer *coal.Indexer, removeAfter time.Duration) {
	// add name index
	indexer.Add(&Job{}, false, 0, "Name")

	// add status index
	indexer.Add(&Job{}, false, 0, "Status")

	// add finished index
	indexer.Add(&Job{}, false, removeAfter, "Finished")
}
func AddJobIndexes(indexer *coal.Indexer, removeAfter time.Duration) {
	
	indexer.Add(&Job{}, false, 0, "Name")

	
	indexer.Add(&Job{}, false, 0, "Status")

	
	indexer.Add(&Job{}, false, removeAfter, "Finished")
}
func AddJobIndexes ( indexer * coal . Indexer , removeAfter time . Duration ) { // add name index indexer . Add ( & Job { } , false , 0 , " " ) // add status index indexer . Add ( & Job { } , false , 0 , " " ) // add finished index indexer . Add ( & Job { } , false , removeAfter , " " ) }
// AddJobIndexes will add job indexes to the specified indexer. If removeAfter
// is specified, completed and cancelled jobs are automatically removed when
// their finished timestamp falls behind the specified duration.
//
// Note: It is recommended to create custom indexes that support the exact
// nature of data and access patterns.
AddJobIndexes will add job indexes to the specified indexer . If removeAfter is specified completed and cancelled jobs are automatically removed when their finished timestamp falls behind the specified duration . Note : It is recommended to create custom indexes that support the exact nature of data and access patterns .