mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
Experimental domain-searching feature
This commit is contained in:
parent
4cd94187b2
commit
806c81a3a3
@ -116,7 +116,7 @@ public class EdgeSearchOperator {
|
|||||||
.filter(sq -> sq.searchTermsExclude.isEmpty() && sq.searchTermsInclude.size() == 1)
|
.filter(sq -> sq.searchTermsExclude.isEmpty() && sq.searchTermsInclude.size() == 1)
|
||||||
.flatMap(sq -> sq.searchTermsInclude.stream())
|
.flatMap(sq -> sq.searchTermsInclude.stream())
|
||||||
.distinct()
|
.distinct()
|
||||||
.map(keyword -> new EdgeDomainSearchSpecification(specs.buckets.get(0), IndexBlock.Title, keyword, 1_000_000, 10, 20))
|
.map(keyword -> new EdgeDomainSearchSpecification(specs.buckets.get(0), IndexBlock.Title, keyword, 1_000_000, 5, 20))
|
||||||
.toArray(EdgeDomainSearchSpecification[]::new);
|
.toArray(EdgeDomainSearchSpecification[]::new);
|
||||||
|
|
||||||
if (requests.length == 0)
|
if (requests.length == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user