Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
My use case is in MultiPrefix I add a custom field mapping with a custom analyzer. The custom analyzer must exist before you define the field (ie after index creation), which in XF2 just doesn't work if you click the 'optimize' button but does work for normal setupKeep in mind, optimize() blows away the entire index anyway. So keeping index configuration simply doesn't happen if there is no $settings passed into the function.
My use case is in MultiPrefix I add a custom field mapping with a custom analyzer. The custom analyzer must exist before you define the field (ie after index creation), which in XF2 just doesn't work if you click the 'optimize' button but does work for normal setup
Keep in mind, optimize() blows away the entire index anyway. So keeping index configuration simply doesn't happen if there is no $settings passed into the function.
optimize()
$settings
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences