Skip to content

Commit

Permalink
fix search filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru Dobre committed Jan 6, 2017
1 parent 37d542e commit f2a34df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/Rubedo/src/Rubedo/Elastic/DataSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ public function search(array $params, $option = 'all', $withSummary = true)
'fields' => ['i18n.*.fields.*','taxonomy.*','fields.*'],
'docs' => $significantItems,
'min_term_freq' => 1,
'min_doc_freq' => 1,
];
} else {
$searchParams['body']['query']['query_string'] = $elasticQueryString;
Expand Down

0 comments on commit f2a34df

Please sign in to comment.