Experimental domain-searching feature

This commit is contained in:
vlofgren 2022-07-28 19:49:58 +02:00
parent 2526c778df
commit 3916c05a02

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, 10_000_000/specs.buckets.size(), 20, 100/specs.buckets.size()))
specs.buckets.stream().map(bucket -> new EdgeDomainSearchSpecification(bucket, IndexBlock.Title, keyword, 2_000_000/specs.buckets.size(), 20, 25/specs.buckets.size()))
)
.toArray(EdgeDomainSearchSpecification[]::new);