Attributes added in items.xml
ERROR [solrclient-cleanup-master] [DBPersistenceManager] typePK or Code was NULL in getPersistenceInfoInternal()
ERROR [solrclient-cleanup-master] [DBPersistenceManager] typePK or Code was NULL in getPersistenceInfoInternal()
ERROR [solrclient-cleanup-master] [FlexibleSearch] Flexible search error occured...
ERROR [solrclient-cleanup-master] [FlexibleSearch] Query translation was not successful.
WARN [solrclient-cleanup-master] [DefaultSolrClientPool] cannot search unknown field 'TableField(name='uid',langPK='null',type=Customer)' within type Customer unless you disable checking, infoMap=TypeInfoMap for type = null
code = null
superType = null
itemTable = null
UPTable = null
LTableName = null
PropsTable = null
core fields = []
unlocalized fields = []
localized fields = []
)
de.hybris.platform.jalo.flexiblesearch.FlexibleSearchException: cannot search unknown field 'TableField(name='uid',langPK='null',type=Customer)' within type Customer unless you disable checking, infoMap=TypeInfoMap for type = null
code = null
superType = null
itemTable = null
UPTable = null
LTableName = null
PropsTable = null
core fields = []
unlocalized fields = []
localized fields = []
I am encountering an error in my Java application that uses the Hybris ecommerce platform. When attempting to perform a flexible search query, I am seeing the following error message in the logs:
ERROR [solrclient-cleanup-master] [FlexibleSearch] Query translation was not successful.
WARN [solrclient-cleanup-master] [DefaultSolrClientPool] cannot search unknown field 'TableField(name='uid',langPK='null',type=Customer)' within type Customer unless you disable checking, infoMap=TypeInfoMap for type = null
de.hybris.platform.jalo.flexiblesearch.FlexibleSearchException: cannot search unknown field 'TableField(name='uid',langPK='null',type=Customer)' within type Customer unless you disable checking, infoMap=TypeInfoMap for type = null
This error seems to suggest that the flexible search query is attempting to search for an unknown field within the "Customer" type, but the field is not defined. Can anyone provide insight into what might be causing this error, and how I can resolve it?

After adding the properties, you need to compile your code, execute a hac update and sometimes restart the server.