Fixed #66 - words with uppercase chars were not indexed/searched properly
This commit is contained in:
@@ -54,7 +54,7 @@ export async function initGlobalSearchIndex(): Promise<void> {
|
||||
const options = {
|
||||
tokenize,
|
||||
processTerm: (term: string) =>
|
||||
settings.ignoreDiacritics ? removeDiacritics(term) : term,
|
||||
(settings.ignoreDiacritics ? removeDiacritics(term) : term).toLowerCase(),
|
||||
idField: 'path',
|
||||
fields: [
|
||||
'basename',
|
||||
|
||||
Reference in New Issue
Block a user