mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Moved qminingapi submodule, added pagination to forum posts
This commit is contained in:
parent
7010d5e8ba
commit
cdd01b70de
3 changed files with 71 additions and 28 deletions
|
@ -32,7 +32,7 @@ const commonUselessAnswerParts = [
|
|||
/* Percent minus for length difference */
|
||||
const lengthDiffMultiplier = 10
|
||||
/* Minimum ammount to consider that two questions match during answering */
|
||||
const minMatchAmmount = 70
|
||||
const minMatchAmmount = 75
|
||||
const magicNumber = 0.7 // same as minMatchAmmount, but /100
|
||||
/* If all of the results are below this match percent (when only one subject is searched due to
|
||||
* subject name matching) then all subjects are searched for answer */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue