1 year ago

#217205

test-img

Prashant Kamble

HSEARCH700061: Unable to index-embed type 'java.lang.String':

Can someone please help us why we are getting below exceptions in hibernate-search 6?

failures: 
              - HSEARCH700061: Unable to index-embed type 'java.lang.String': no index mapping (@GenericField, @FullTextField, custom bridges, ...) is defined for that type.

and

HSEARCH400520: Duplicate index field definition: 'users'. Index field names must be unique. Look for two property mappings with the same field name, or two indexed-embeddeds with prefixes that lead to conflicting index field names, or two custom bridges declaring index fields with the same name.

I am using these two annotations together like:

@IndexedEmbedded
@GenericField
private Set<String> users;

hibernate

elasticsearch

hibernate-search

0 Answers

Your Answer

Accepted video resources