mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
change default field for tag search to non-analyzed name (fixes philomena-dev/philomena#61)
This commit is contained in:
parent
37adb661fb
commit
1b6be40eba
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ defmodule Philomena.Tags.Query do
|
|||
~W(slug name name_in_namespace namespace implies alias_of implied_by aliases category analyzed_name),
|
||||
bool_fields: ~W(aliased),
|
||||
ngram_fields: ~W(description short_description),
|
||||
default_field: {"analyzed_name", :ngram},
|
||||
default_field: {"name", :term},
|
||||
aliases: %{
|
||||
"implies" => "implied_tags",
|
||||
"implied_by" => "implied_by_tags",
|
||||
|
|
Loading…
Reference in a new issue