mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
Fix bug in index service where tld: and links:-queries wouldn't work.
This commit is contained in:
parent
d42ab19166
commit
df1850bd45
@ -129,9 +129,7 @@ public class SearchIndex {
|
|||||||
|
|
||||||
// Finally consider terms in the full index, but only do this for sufficiently long queries
|
// Finally consider terms in the full index, but only do this for sufficiently long queries
|
||||||
// as short queries tend to be too underspecified to produce anything other than CPU warmth
|
// as short queries tend to be too underspecified to produce anything other than CPU warmth
|
||||||
if (orderedIncludes.length >= 2) {
|
queryHeads.add(indexReader.findFullWord(IndexQueryPriority.FALLBACK, orderedIncludes[0], fetchSizeMultiplier));
|
||||||
queryHeads.add(indexReader.findFullWord(IndexQueryPriority.FALLBACK, orderedIncludes[0], fetchSizeMultiplier));
|
|
||||||
}
|
|
||||||
|
|
||||||
for (var query : queryHeads) {
|
for (var query : queryHeads) {
|
||||||
if (query == null) {
|
if (query == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user