mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-31 09:30:12 +00:00 
			
		
		
		
	Use classifier results as fallback when linking proposed metadata
This commit is contained in:
		| @@ -24,6 +24,7 @@ object LinkProposal { | |||||||
|           .flatten(data.metas.map(_.proposals)) |           .flatten(data.metas.map(_.proposals)) | ||||||
|           .filter(_.proposalType != MetaProposalType.DocDate) |           .filter(_.proposalType != MetaProposalType.DocDate) | ||||||
|           .sortByWeights |           .sortByWeights | ||||||
|  |           .fillEmptyFrom(data.classifyProposals.getOrElse(MetaProposalList.empty)) | ||||||
|  |  | ||||||
|         ctx.logger.info(s"Starting linking proposals") *> |         ctx.logger.info(s"Starting linking proposals") *> | ||||||
|           MetaProposalType.all |           MetaProposalType.all | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user