Skip to content

Commit

Permalink
#4513 - Support full text search in knowledge bases running on Blazeg…
Browse files Browse the repository at this point in the history
…raph

- Fix issue that KB profiles can no longer be created after the reification settings have been removed from the YAML profiles file
  • Loading branch information
reckart committed Feb 25, 2024
1 parent 0fa3d44 commit 58a3dd6
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,12 @@ public KnowledgeBaseProfile(@JsonProperty("name") String aName,
mapping = aMapping;
rootConcepts = aRootConcepts;
info = aInfo;
reification = aReification;
defaultLanguage = aDefaultLanguage;

if (aReification != null) {
reification = aReification;
}

if (aDefaultDataset != null) {
defaultDataset = aDefaultDataset;
}
Expand Down Expand Up @@ -186,6 +189,10 @@ public void setInfo(KnowledgeBaseInfo aInfo)

public Reification getReification()
{
if (reification == null) {
return Reification.NONE;
}

return reification;
}

Expand Down

0 comments on commit 58a3dd6

Please sign in to comment.