mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
PHRAS-3583
add missing "raw" mapping values to date & numbers
This commit is contained in:
@@ -27,6 +27,9 @@ class FieldToFieldMappingConverter
|
||||
$ret->disableIndexing();
|
||||
}
|
||||
else {
|
||||
$ret->addChild(
|
||||
(new StringFieldMapping('raw'))
|
||||
->enableRawIndexing());
|
||||
$ret->addChild(
|
||||
(new StringFieldMapping('light'))
|
||||
->setAnalyzer('general_light')
|
||||
@@ -55,6 +58,9 @@ class FieldToFieldMappingConverter
|
||||
$ret->disableIndexing();
|
||||
}
|
||||
else {
|
||||
$ret->addChild(
|
||||
(new StringFieldMapping('raw'))
|
||||
->enableRawIndexing());
|
||||
$ret->addChild(
|
||||
(new StringFieldMapping('light'))
|
||||
->setAnalyzer('general_light')
|
||||
|
Reference in New Issue
Block a user