mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
start of note cache expression implementation
This commit is contained in:
@@ -18,7 +18,7 @@ async function getAutocomplete(req) {
|
||||
results = await getRecentNotes(activeNoteId);
|
||||
}
|
||||
else {
|
||||
results = await noteCacheService.findNotes(query);
|
||||
results = await noteCacheService.findNotesWithFulltext(query);
|
||||
}
|
||||
|
||||
const msTaken = Date.now() - timestampStarted;
|
||||
@@ -67,4 +67,4 @@ async function getRecentNotes(activeNoteId) {
|
||||
|
||||
module.exports = {
|
||||
getAutocomplete
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user