diff --git a/app/controllers/meta_searches_controller.rb b/app/controllers/meta_searches_controller.rb
deleted file mode 100644
index c9fd25126..000000000
--- a/app/controllers/meta_searches_controller.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class MetaSearchesController < ApplicationController
- def tags
- @meta_search = MetaSearches::Tag.new(params)
- @meta_search.load_all
- end
-end
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 23fd35ab7..74127c8b5 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -304,7 +304,7 @@ module ApplicationHelper
when "artists", "artist_versions"
/^\/artist/
- when "tags", "meta_searches"
+ when "tags"
/^\/tags/
when "pools", "pool_versions"
diff --git a/app/logical/meta_searches/tag.rb b/app/logical/meta_searches/tag.rb
deleted file mode 100644
index 46eec97d3..000000000
--- a/app/logical/meta_searches/tag.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-class MetaSearches::Tag
- MAX_RESULTS = 25
- attr_reader :search_params, :tags, :tag_aliases, :tag_implications
-
- def initialize(search_params)
- @search_params = search_params
- end
-
- def load_all
- load_tags
- load_tag_aliases
- load_tag_implications
- end
-
- def load_tags
- @tags = ::Tag.name_matches(name_param).limit(MAX_RESULTS)
- end
-
- def load_tag_aliases
- @tag_aliases = TagAlias.name_matches(name_param).limit(MAX_RESULTS)
- end
-
- def load_tag_implications
- @tag_implications = TagImplication.name_matches(name_param).limit(MAX_RESULTS)
- end
-
- def name_param
- search_params[:name] || ""
- end
-end
diff --git a/app/views/meta_searches/tags.html.erb b/app/views/meta_searches/tags.html.erb
deleted file mode 100644
index 220124a71..000000000
--- a/app/views/meta_searches/tags.html.erb
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-<%= render "tags/secondary_links" %>
-
-<% content_for(:page_title) do %>
- MetaSearch - Tags - <%= Danbooru.config.app_name %>
-<% end %>
diff --git a/app/views/static/site_map.html.erb b/app/views/static/site_map.html.erb
index 06f6d618e..f23a14566 100644
--- a/app/views/static/site_map.html.erb
+++ b/app/views/static/site_map.html.erb
@@ -54,7 +54,6 @@
<%= link_to("Aliases", tag_aliases_path) %>
<%= link_to("Implications", tag_implications_path) %>
<%= link_to("Listing", tags_path) %>
- <%= link_to("Search", meta_searches_tags_path) %>
Notes
diff --git a/app/views/tag_aliases/_secondary_links.html.erb b/app/views/tag_aliases/_secondary_links.html.erb
index a2ae7f4ef..65906f78a 100644
--- a/app/views/tag_aliases/_secondary_links.html.erb
+++ b/app/views/tag_aliases/_secondary_links.html.erb
@@ -1,6 +1,5 @@
<% content_for(:secondary_links) do %>
<%= subnav_link_to "Listing", tag_aliases_path %>
- <%= subnav_link_to "MetaSearch", meta_searches_tags_path %>
<%= subnav_link_to "Request alias", new_bulk_update_request_path %>
<%= subnav_link_to "Help", wiki_page_path("help:tag_aliases") %>
<% end %>
diff --git a/app/views/tag_implications/_secondary_links.html.erb b/app/views/tag_implications/_secondary_links.html.erb
index 3064e46fa..932cc9e3a 100644
--- a/app/views/tag_implications/_secondary_links.html.erb
+++ b/app/views/tag_implications/_secondary_links.html.erb
@@ -1,6 +1,5 @@
<% content_for(:secondary_links) do %>
<%= subnav_link_to "Listing", tag_implications_path %>
- <%= subnav_link_to "MetaSearch", meta_searches_tags_path %>
<%= subnav_link_to "Request implication", new_bulk_update_request_path %>
<%= subnav_link_to "Help", wiki_page_path("help:tag_implications") %>
<% end %>
diff --git a/app/views/tags/_secondary_links.html.erb b/app/views/tags/_secondary_links.html.erb
index 383c471c1..8f212fe9a 100644
--- a/app/views/tags/_secondary_links.html.erb
+++ b/app/views/tags/_secondary_links.html.erb
@@ -1,7 +1,6 @@
<% content_for(:secondary_links) do %>
<%= quick_search_form_for(:name_matches, tags_path, "tags", autocomplete: "tag") %>
<%= subnav_link_to "Listing", tags_path %>
- <%= subnav_link_to "MetaSearch", meta_searches_tags_path %>
<%= subnav_link_to "Related tags", related_tag_path %>
<%= subnav_link_to "Cheatsheet", wiki_page_path("help:cheatsheet") %>
<%= subnav_link_to "Help", wiki_page_path("help:tags") %>
diff --git a/config/routes.rb b/config/routes.rb
index 0b4abdcc2..ec47b9f67 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -402,7 +402,6 @@ Rails.application.routes.draw do
get "/static/terms_of_service" => "static#terms_of_service", :as => "terms_of_service"
get "/static/contact" => "static#contact", :as => "contact"
get "/static/dtext_help" => "static#dtext_help", :as => "dtext_help"
- get "/meta_searches/tags" => "meta_searches#tags", :as => "meta_searches_tags"
get "/intro" => redirect("/explore/posts/intro")
diff --git a/test/functional/meta_searches_controller_test.rb b/test/functional/meta_searches_controller_test.rb
deleted file mode 100644
index b776778e4..000000000
--- a/test/functional/meta_searches_controller_test.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-require 'test_helper'
-
-class MetaSearchesControllerTest < ActionDispatch::IntegrationTest
- context "The meta searches controller" do
- context "tags action" do
- should "work" do
- get meta_searches_tags_path, params: {name: "long_hair"}
- assert_response :success
- end
- end
- end
-end
diff --git a/test/unit/meta_searches/tag_test.rb b/test/unit/meta_searches/tag_test.rb
deleted file mode 100644
index 545ff8eb6..000000000
--- a/test/unit/meta_searches/tag_test.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-require "test_helper"
-
-module MetaSearches
- class TagTest < ActionMailer::TestCase
- context "The tag metasearch" do
- setup do
- CurrentUser.user = FactoryBot.create(:user)
- CurrentUser.ip_addr = "127.0.0.1"
- FactoryBot.create(:post, :tag_string => "xxx")
- FactoryBot.create(:tag_alias, :antecedent_name => "aaa", :consequent_name => "bbb")
- FactoryBot.create(:tag_implication, :antecedent_name => "ccc", :consequent_name => "ddd")
- end
-
- should "find the tag" do
- meta_search = MetaSearches::Tag.new(:name => "xxx")
- meta_search.load_all
- assert_equal(1, meta_search.tags.size)
- assert_equal("xxx", meta_search.tags.first.name)
- end
-
- should "find the alias" do
- meta_search = MetaSearches::Tag.new(:name => "aaa")
- meta_search.load_all
- assert_equal(1, meta_search.tag_aliases.size)
- assert_equal("aaa", meta_search.tag_aliases.first.antecedent_name)
- end
-
- should "find the implication" do
- meta_search = MetaSearches::Tag.new(:name => "ccc")
- meta_search.load_all
- assert_equal(1, meta_search.tag_implications.size)
- assert_equal("ccc", meta_search.tag_implications.first.antecedent_name)
- end
- end
- end
-end