Skip to content

Commit

Permalink
added suggest to Indexable fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Newatia authored and Newatia committed Oct 18, 2021
1 parent fa0f75d commit 067974c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ public class AdverseEventCvm extends AbstractGsrsEntity implements SubstanceAdve
@Column(name="SUBSTANCE_KEY")
public String substanceKey;

@Indexable(facet = true, name = "Ingredient Name")
@Indexable(suggest = true, facet = true, name = "Ingredient Name")
@Column(name="NAME")
public String name;

@Indexable(facet = true, name = "Route of Administration")
@Indexable(suggest = true, facet = true, name = "Route of Administration")
@Column(name="ROUTE_OF_ADMINISTRATION")
public String routeOfAdmin;

@Indexable(facet = true, name = "Species")
@Indexable(suggest = true, facet = true, name = "Species")
@Column(name="SPECIES")
public String species;

@Indexable(facet = true, name = "Adverse Event")
@Indexable(suggest = true, facet = true, name = "Adverse Event")
@Column(name="ADVERSE_EVENT")
public String adverseEvent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ public class AdverseEventDme extends AbstractGsrsEntity implements SubstanceAdve
@Column(name="SUBSTANCE_KEY")
public String substanceKey;

@Indexable(facet = true, name = "Ingredient Name")
@Indexable(suggest = true, facet = true, name = "Ingredient Name")
@Column(name="NAME")
public String name;

@Indexable(facet = true, name = "DME Reactions")
@Indexable(suggest = true, facet = true, name = "DME Reactions")
@Column(name="DME_REACTIONS")
public String dmeReactions;

@Indexable(facet = true, name = "PTTerm Meddra")
@Indexable(suggest = true, facet = true, name = "PTTerm Meddra")
@Column(name="PTTERM_MEDDRA")
public String ptTermMeddra;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ public class AdverseEventPt extends AbstractGsrsEntity implements SubstanceAdver
@Column(name = "SUBSTANCE_KEY")
public String substanceKey;

@Indexable(facet = true, name = "Ingredient Name")
@Indexable(suggest = true, facet = true, name = "Ingredient Name")
@Column(name = "NAME")
public String name;

@Indexable(facet = true, name = "Adverse Event")
@Indexable(suggest = true, facet = true, name = "Adverse Event")
@Column(name = "PT_TERM")
public String adverseEvent;

@Indexable(facet = true, name = "Prim SOC")
@Indexable(suggest = true, facet = true, name = "Prim SOC")
@Column(name = "PRIM_SOC")
public String primSoc;

Expand Down

0 comments on commit 067974c

Please sign in to comment.