Increase the threshold value of enabling middle content search.
This commit is contained in:
parent
01483e2fd0
commit
300a092132
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ const GraphLabels = () => {
|
|||
|
||||
// Add middle-content matching if results are few
|
||||
// This enables matching content in the middle of text, not just from the beginning
|
||||
if (result.length < 5) {
|
||||
if (result.length < 15) {
|
||||
// Get already matched labels to avoid duplicates
|
||||
const matchedLabels = new Set(result)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue