Search results: Immediately (with results) signal if no more results will be available (search terminated).

This commit is contained in:
Kleissner
2021-12-14 17:48:59 +01:00
parent 2806f3abcf
commit ade13d6422
2 changed files with 6 additions and 4 deletions

View File

@@ -359,7 +359,7 @@ func (job *SearchJob) IsTerminated() bool {
// }
// }
return false
return job.Status == SearchStatusTerminated || job.Status == SearchStatusNoIndex
}
// Terminate terminates all searches