Experimental domain-searching feature

This commit is contained in:
vlofgren 2022-07-28 19:45:00 +02:00
parent 1c92cc1df8
commit 09aa217451

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.Title, 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(), 20, 20))
)
.toArray(EdgeDomainSearchSpecification[]::new);