Fix facets on non string fields & fix raw with "in" query

This commit is contained in:
Mathieu Darse
2015-07-23 18:41:10 +02:00
parent a31442368b
commit a59c42980c
3 changed files with 52 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ class Field
'%scaption.%s%s',
$this->is_private ? 'private_' : '',
$this->name,
$raw ? '.raw' : ''
$raw && $this->type === Mapping::TYPE_STRING ? '.raw' : ''
);
}