Details
-
Bug
-
Resolution: Unresolved
-
Major
-
5.5.0
-
None
-
Untriaged
-
Unknown
Description
Currently, a scorch TermFieldReader has essentially a single threaded implementation of the Next() API...
https://github.com/blevesearch/bleve/blob/master/index/scorch/snapshot_index_tfr.go#L77
This ticket is to consider optimizations and experiments with adding more concurrency there (i.e., leverage multiple cores)?
Especially, if there's a page-fault in these codepaths due to mmap'ed block access, the entire thread for the goroutine becomes blocked.