You can't use simple-search
for localized fields.
You have to configure your language, see com.hybris.cockpitng.editor.localized.LocalizedSimpleEditor
and use advanced-search widget.
LocalizedSimpleEditor
Description
A drop-down list version of the Localized Editor applied in the Advanced Search widget.
Type
Reference to any type which must be provided in the following format LocalizedSimple( ), for example:
LocalizedSimple(java.lang.String)
LocalizedSimple(java.lang.Integer)
LocalizedSimple(Reference(Product))
Example :
<as:field editor="com.hybris.cockpitng.editor.localized(com.hybris.cockpitng.editor.defaulttext)" .../>
Advanced search widget example
<context type="Product" component="advanced-search">
<as:advanced-search xmlns:as="http://www.hybris.com/cockpitng/config/advancedsearch" connection-operator="AND">
<as:field-list disable-attributes-comparator="false" disable-subtypes-checkbox="false">
<as:field name="code" operator="equals" selected="true"/>
<as:field name="approvalStatus" operator="equals" selected="false"/>
<as:field editor="com.hybris.cockpitng.editor.defaultlong" name="pk" operator="less" selected="true" sortable="false"/>
<as:field name="modifiedtime" operator="greaterOrEquals" selected="true"/>
</as:field-list>
<as:sort-field name="code" asc="false" />
</as:advanced-search>
Solr
Search orFlexible Search
? – Nomade