camelCaseAttributes
[]
'camelCaseAttributes' => [ 'attribute', ... ]
Can be used in these methods:
setSettings
set_settings
setSettings
set_settings
setSettings
setSettings
SetSettings
setSettings
SetSettings
setSettings
About this parameter
List of attributes on which to do a decomposition of camel case words.
Camel case compounds are basically words glued together, and being able to
find a camel case compound when searching for one of its words often makes
sense. This setting automatically splits camel case compounds into separate
words and allows for example to find "camelCaseAttributes"
when searching for
"case"
.
Examples
Set the attributes to enable camel case decomposition
1
2
3
4
5
$index->setSettings([
'camelCaseAttributes' => [
'description'
]
]);