diff --git a/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/index/EdgeIndexService.java b/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/index/EdgeIndexService.java index ece52178..f9ed8ecc 100644 --- a/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/index/EdgeIndexService.java +++ b/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/index/EdgeIndexService.java @@ -216,7 +216,7 @@ public class EdgeIndexService extends Service { String json = request.body(); EdgeDomainSearchSpecification specsSet = gson.fromJson(json, EdgeDomainSearchSpecification.class); - final int wordId = keywordLexicon.getOrInsert(specsSet.keyword); + final int wordId = keywordLexicon.getReadOnly(specsSet.keyword); List> urlIds = indexes .getBucket(specsSet.bucket)