« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/static/js/search-worker.js14
-rw-r--r--src/util/search-spec.js4
2 files changed, 0 insertions, 18 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js
index 6d4ed52a..e998e7af 100644
--- a/src/static/js/search-worker.js
+++ b/src/static/js/search-worker.js
@@ -383,20 +383,6 @@ function performSearchAction({query, options}) {
 
 function queryGenericIndex(index, query, options) {
   const interestingFieldCombinations = [
-    ['kind', 'primaryName', 'parentName', 'groups'],
-    ['kind', 'primaryName', 'parentName'],
-    ['kind', 'primaryName', 'groups', 'contributors'],
-    ['kind', 'primaryName', 'groups', 'artTags'],
-    ['kind', 'primaryName', 'groups'],
-    ['kind', 'primaryName', 'contributors'],
-    ['kind', 'primaryName', 'artTags'],
-    ['kind', 'parentName', 'groups', 'artTags'],
-    ['kind', 'parentName', 'artTags'],
-    ['kind', 'groups', 'contributors'],
-    ['kind', 'groups', 'artTags'],
-    ['kind', 'groups'],
-    ['kind', 'contributors'],
-
     ['primaryName', 'parentName', 'groups'],
     ['primaryName', 'parentName'],
     ['primaryName', 'groups', 'contributors'],
diff --git a/src/util/search-spec.js b/src/util/search-spec.js
index 22ce71a3..79e8ee95 100644
--- a/src/util/search-spec.js
+++ b/src/util/search-spec.js
@@ -115,9 +115,6 @@ export const searchSpec = {
     process(thing, opts) {
       const fields = {};
 
-      fields.kind =
-        thing.constructor[Symbol.for('Thing.referenceType')];
-
       fields.primaryName =
         thing.name;
 
@@ -188,7 +185,6 @@ export const searchSpec = {
     },
 
     index: [
-      'kind',
       'primaryName',
       'parentName',
       'artTags',