cancel
Showing results for 
Search instead for 
Did you mean: 

What is the benefit of search modifier of Item attribute ?

former_member1190134
Participant
0 Kudos

Hello Expert,

I need to clear under stand about behavior of modifier search in the Items XML.

Here : I'm able to perform search on an attribute when I set it to false.

former_member620692
Active Contributor
0 Kudos

You can not have an attribute with search="false" for which you have declared unique="true".

Otherwise, you will get an exception like

 java.lang.IllegalStateException: Attribute xxxxxxx.xxxxxxx is unique and not searchable. Please declare it in your items.xml file as not unique (unique='false') or as searchable (search='true').

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Attributes with persistence type set to 'jalo' and search="false" can not be searchable.