Smile\ElasticsuiteCatalog\Block\Plugin\Adminhtml\Product\Attribute\Edit\Tab\FrontPlugin::addSearchFields PHP Method

addSearchFields() private method

Append spellchecking related fields.
private addSearchFields ( Magento\Framework\Data\Form\Element\Fieldset $fieldset ) : FrontPlugin
$fieldset Magento\Framework\Data\Form\Element\Fieldset Target fieldset
return FrontPlugin
    private function addSearchFields(Fieldset $fieldset)
    {
        $fieldset->addField('search_weight', 'select', ['name' => 'search_weight', 'label' => __('Search Weight'), 'values' => $this->weightSource->getOptions()], 'is_searchable');
        $fieldset->addField('is_used_in_spellcheck', 'select', ['name' => 'is_used_in_spellcheck', 'label' => __('Used in spellcheck'), 'values' => $this->booleanSource->toOptionArray()], 'search_weight');
        return $this;
    }