diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-10 20:52:03 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-10 20:52:03 -0300 |
commit | 44fbad52edd10b88b996397d5f5456bc1f4e6800 (patch) | |
tree | 3ac948b5ad45594dacdda80723b230bdd08cd799 | |
parent | 53c3d939e66b5ecefa8b92de757bc70c0c6c34bd (diff) |
search: drop 'kind' field
-rw-r--r-- | src/static/js/search-worker.js | 14 | ||||
-rw-r--r-- | src/util/search-spec.js | 4 |
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', |