Lines 376-386
sub build_authorities_query {
Link Here
|
376 |
my $query = $self->_join_queries( @tokens ); |
376 |
my $query = $self->_join_queries( @tokens ); |
377 |
|
377 |
|
378 |
if ($wh) { |
378 |
if ($wh) { |
379 |
push @query_parts, { query_string => { default_field => $wh, query => $query } }; |
379 |
push @query_parts, { query_string => { |
|
|
380 |
default_field => $wh, |
381 |
analyze_wildcard => JSON::true, |
382 |
query => $query |
383 |
} }; |
380 |
} |
384 |
} |
381 |
else { |
385 |
else { |
382 |
push @query_parts, { |
386 |
push @query_parts, { |
383 |
query_string => { |
387 |
query_string => { |
|
|
388 |
analyze_wildcard => JSON::true, |
384 |
query => $query, |
389 |
query => $query, |
385 |
fields => $self->_search_fields(), |
390 |
fields => $self->_search_fields(), |
386 |
} |
391 |
} |
387 |
- |
|
|