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