Experimental domain-searching feature

This commit is contained in:
vlofgren 2022-07-28 19:45:44 +02:00
parent 09aa217451
commit 6a2b199604

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