« get me outta code hell

search: query -> select, factor out backend parts of searchSpec - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/search.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-10-08 20:52:28 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-10-08 20:52:28 -0300
commit9be32e448e65efeef59fa1ed6c2f4190c86d83d4 (patch)
tree017b01a752ad658073cd8b6770ead0de01612184 /src/search.js
parentc60c6b04114efa65da26ded995fb5793c893d066 (diff)
search: query -> select, factor out backend parts of searchSpec
Diffstat (limited to 'src/search.js')
-rw-r--r--src/search.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/search.js b/src/search.js
index a2dae9e1..5d4c7331 100644
--- a/src/search.js
+++ b/src/search.js
@@ -9,7 +9,8 @@ import FlexSearch from 'flexsearch';
 import {pack} from 'msgpackr';
 
 import {logWarn} from '#cli';
-import {makeSearchIndex, populateSearchIndex, searchSpec} from '#search-spec';
+import {makeSearchIndex, populateSearchIndex} from '#search-shape';
+import searchSpec from '#search-select';
 import {stitchArrays} from '#sugar';
 import {checkIfImagePathHasCachedThumbnails, getThumbnailEqualOrSmaller}
   from '#thumbs';