|
Lines 273-278
sub _create_match_expression {
Link Here
|
| 273 |
my ($self, $search_param) = @_; |
273 |
my ($self, $search_param) = @_; |
| 274 |
|
274 |
|
| 275 |
my $expression = {}; |
275 |
my $expression = {}; |
|
|
276 |
|
| 277 |
if ($search_param->{operand} =~ /([\w\-]+):(.+)/) { |
| 278 |
$search_param->{field} = $1; |
| 279 |
$search_param->{operand} = $2; |
| 280 |
} |
| 281 |
|
| 276 |
unless (defined($search_param->{field})) { |
282 |
unless (defined($search_param->{field})) { |
| 277 |
$expression->{multi_match} = { |
283 |
$expression->{multi_match} = { |
| 278 |
type => 'cross_fields', |
284 |
type => 'cross_fields', |
| 279 |
- |
|
|