Experimental domain-searching feature

This commit is contained in:
vlofgren 2022-07-28 19:29:00 +02:00
parent ae9845d89c
commit f1f4674e1c

View File

@ -117,7 +117,7 @@ public class EdgeSearchOperator {
.flatMap(sq -> sq.searchTermsInclude.stream())
.distinct()
.flatMap(keyword ->
specs.buckets.stream().map(bucket -> new EdgeDomainSearchSpecification(bucket, IndexBlock.Topic, keyword, 1_000_000/specs.buckets.size(), 5, 20))
specs.buckets.stream().map(bucket -> new EdgeDomainSearchSpecification(bucket, IndexBlock.Title, keyword, 1_000_000/specs.buckets.size(), 5, 20))
)
.toArray(EdgeDomainSearchSpecification[]::new);