mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Always return classifier results as suggestion
The classifier results are spliced into the suggestion list at second place. When linking they are only used if nlp didn't find anything.
This commit is contained in:
@ -591,7 +591,7 @@ object OItem {
|
||||
for {
|
||||
itemIds <- store.transact(RItem.filterItems(items, collective))
|
||||
results <- itemIds.traverse(item => deleteItem(item, collective))
|
||||
n = results.fold(0)(_ + _)
|
||||
n = results.sum
|
||||
} yield n
|
||||
|
||||
def getProposals(item: Ident, collective: Ident): F[MetaProposalList] =
|
||||
|
Reference in New Issue
Block a user