Commit 09322682 authored by Bert Balcaen's avatar Bert Balcaen
Browse files

Using NOT_SET for empty vals.

parent d691aff5
......@@ -22,9 +22,9 @@ class SolrEngine extends Engine
foreach ($searchableArray as $key => $value) {
if (empty($value)) {
if (is_string($value)) {
$value = 'null';
$value = 'NOT_SET';
} else if (is_array($value)) {
$value = ['null'];
$value = ['NOT_SET'];
}
$searchableArray[$key] = $value;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment