deletion_reason ngram

This commit is contained in:
byte[] 2020-01-30 10:48:51 -05:00
parent 85e0cadf33
commit 8128d48e8f

View file

@ -97,6 +97,8 @@ defmodule Philomena.Images.Query do
literal_fields: literal_fields:
fields[:literal_fields] ++ fields[:literal_fields] ++
~W(fingerprint upvoted_by downvoted_by true_uploader hidden_by deleted_by_user), ~W(fingerprint upvoted_by downvoted_by true_uploader hidden_by deleted_by_user),
ngram_fields:
fields[:ngram_fields] ++ ~W(deletion_reason),
ip_fields: ~W(ip), ip_fields: ~W(ip),
bool_fields: ~W(deleted), bool_fields: ~W(deleted),
aliases: aliases: