-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add subtype #669
base: main
Are you sure you want to change the base?
add subtype #669
Conversation
Quality Gate failedFailed conditions |
@@ -49,6 +49,9 @@ public class EquipmentInfos extends BasicEquipmentInfos { | |||
@Field("equipmentType") | |||
String type; | |||
|
|||
@Field(type = FieldType.Keyword) | |||
Set<String> equipmentSubType; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set<String> equipmentSubType; | |
Set<String> equipmentSubTypes; |
Since it is a collection, should add 's' to the field name if the name has a same semantics
@@ -79,6 +79,7 @@ public enum FieldSelector { | |||
static final String EQUIPMENT_NAME = "equipmentName.fullascii"; | |||
static final String EQUIPMENT_ID = "equipmentId.fullascii"; | |||
static final String EQUIPMENT_TYPE = "equipmentType.keyword"; | |||
static final String EQUIPMENT_SUB_TYPE = "equipmentSubType.keyword"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static final String EQUIPMENT_SUB_TYPE = "equipmentSubType.keyword"; | |
static final String EQUIPMENT_SUB_TYPES = "equipmentSubTypes.keyword"; |
No description provided.