Experimental domain-searching feature

This commit is contained in:
vlofgren 2022-07-28 20:25:54 +02:00
parent 6ae7669fd1
commit 913599426f

View File

@ -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<EdgeId<EdgeUrl>> urlIds = indexes
.getBucket(specsSet.bucket)