diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-05 20:43:18 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 00:19:20 +0200 |
commit | 37722eca39874bb6abdcd120e3e458bd62dea62b (patch) | |
tree | 57a9a9970c00ec77baecab7e154ef7dfcef863fe /Bugzilla/Elastic | |
parent | a6f98de0d4e842351222b0173a1fff151da8738e (diff) | |
download | bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.gz bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.xz |
Bug 1377933 - Remove trailing whitespace from all perl files
Diffstat (limited to 'Bugzilla/Elastic')
-rw-r--r-- | Bugzilla/Elastic/Indexer.pm | 2 | ||||
-rw-r--r-- | Bugzilla/Elastic/Search.pm | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Bugzilla/Elastic/Indexer.pm b/Bugzilla/Elastic/Indexer.pm index dd71a7198..fce8f1053 100644 --- a/Bugzilla/Elastic/Indexer.pm +++ b/Bugzilla/Elastic/Indexer.pm @@ -43,7 +43,7 @@ sub create_index { number_of_shards => 2, analysis => { filter => { - asciifolding_original => { + asciifolding_original => { type => "asciifolding", preserve_original => \1, }, diff --git a/Bugzilla/Elastic/Search.pm b/Bugzilla/Elastic/Search.pm index 2a49fd870..24e2e3234 100644 --- a/Bugzilla/Elastic/Search.pm +++ b/Bugzilla/Elastic/Search.pm @@ -140,7 +140,7 @@ sub _build_fields { return \@SUPPORTED_FIELDS } sub _build__order { my ($self) = @_; - + my @order; foreach my $order (@{$self->_input_order}) { if ($order =~ /^(.+)\s+(asc|desc)$/i) { @@ -180,7 +180,7 @@ sub _build_search_description { sub _describe { my ($thing) = @_; - + state $class_to_func = { 'Bugzilla::Search::Condition' => \&_describe_condition, 'Bugzilla::Search::Clause' => \&_describe_clause @@ -411,7 +411,7 @@ BEGIN { with 'Throwable'; has 'redirect_args' => (is => 'ro', required => 1); - + package Bugzilla::Elastic::Search::UnsupportedField; use Moo; use overload q{""} => sub { "Unsupported field: ", $_[0]->field }, fallback => 1; @@ -420,7 +420,7 @@ BEGIN { has 'field' => (is => 'ro', required => 1); - + package Bugzilla::Elastic::Search::UnsupportedOperator; use Moo; |