Skip to content

Commit

Permalink
fixed bug in caching annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
fmatthies committed Nov 28, 2024
1 parent 2e6d8a5 commit b7853c6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion id_logik_recommender/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ java -jar IDLOGIK_RECOMMENDER.jar --idlogik.licence=LICENCE_KEY
So kann bei bedarf auch der ``Host``/``Port`` konfiguriert werden.
#### Docker Beispiel
````
docker run --network NETWORK_NAME ghcr.io/medizininformatik-initiative/gemtex/inception-idlogik-recommender:0.1.0 --idlogik.licence=LICENCE --idlogik.host=IDLOGIK_DOCKER_NETWORK_IP
docker run --network NETWORK_NAME ghcr.io/medizininformatik-initiative/gemtex/inception-idlogik-recommender:0.1.1 --idlogik.licence=LICENCE --idlogik.host=IDLOGIK_DOCKER_NETWORK_IP
````
###### NETWORK_NAME
Name des Docker-Netzwerks in dem sich der IDLogik Server und INCEpTION befinden.
Expand Down
2 changes: 1 addition & 1 deletion id_logik_recommender/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1
7 changes: 3 additions & 4 deletions id_logik_recommender/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
<version>3.1.5</version>
</parent>
<groupId>com.id</groupId>
<artifactId>InceptionRecommender</artifactId>
<version>0.1.0</version>
<name>InceptionRecommender</name>
<description>InceptionRecommender</description>
<artifactId>id_logik_recommender</artifactId>
<version>0.1.1</version>
<name>IDLogik Inception Recommender</name>
<properties>
<java.version>17</java.version>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected void call(Task task, int retries) {
}
}

@Cacheable(value = "SCT_ANNO_CACHE", key = "#text", unless="#task.getResultItems().size()==0")
@Cacheable(value = "SCT_ANNO_CACHE", key = "#text", unless="#result.size()==0")
public List<ResultItem> text2FullSCT(String text) {
Task task = new Task();
task.setServiceName("term.Index");
Expand Down

0 comments on commit b7853c6

Please sign in to comment.