mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	add back comment
This commit is contained in:
		
							parent
							
								
									bca7d9c4d2
								
							
						
					
					
						commit
						a97a0660ea
					
				| @ -48,6 +48,7 @@ class SearchResult { | |||||||
|             this.score += 120; |             this.score += 120; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |         // notes with matches on its own note title as opposed to ancestors or descendants
 | ||||||
|         const beforeTokenScore = this.score; |         const beforeTokenScore = this.score; | ||||||
|         // Add scores for partial matches with lower weights
 |         // Add scores for partial matches with lower weights
 | ||||||
|         this.addScoreForStrings(tokens, note.title, 1.5); |         this.addScoreForStrings(tokens, note.title, 1.5); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 perf3ct
						perf3ct