diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-05-18 20:59:39 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-05-18 20:59:39 -0300 |
| commit | 49b113e79ef2baf96d746730311143f9b242bf62 (patch) | |
| tree | 7b868d1491a0114c7007af309b3ebebc1e47dd29 /src/static | |
| parent | 74d753afef12b7253915be72a7afee8faa67ffdb (diff) | |
search: drop most interesting field combinations preview
Diffstat (limited to 'src/static')
| -rw-r--r-- | src/static/js/search-worker.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js index 9ccaa95d..f3e4175a 100644 --- a/src/static/js/search-worker.js +++ b/src/static/js/search-worker.js @@ -487,29 +487,7 @@ function performSearchAction({query, options}) { const interestingFieldCombinations = [ ['primaryName'], ['additionalNames'], - - ['primaryName', 'parentName', 'groups'], - ['primaryName', 'parentName'], - ['primaryName', 'groups', 'contributors'], - ['primaryName', 'groups', 'artTags'], ['primaryName', 'groups'], - ['additionalNames', 'groups'], - ['primaryName', 'contributors'], - ['primaryName', 'artTags'], - ['parentName', 'groups', 'artTags'], - ['parentName', 'artTags'], - ['groups', 'contributors'], - ['groups', 'artTags'], - - // This prevents just matching *everything* tagged "john" if you - // only search "john", but it actually supports matching more than - // *two* tags at once: "john rose lowas" works! This is thanks to - // flexsearch matching multiple field values in a single query. - ['artTags', 'artTags'], - - ['contributors', 'parentName'], - ['contributors', 'groups'], - ['primaryName', 'contributors'], ]; function queryGenericIndex(query, options) { |