Skip to content

Conversation

@jpountz
Copy link
Contributor

@jpountz jpountz commented Feb 27, 2020

Backport of #52641

Since version 8.4, MMapDirectory has an optimization to read long[]
arrays directly in little endian order, which postings leverage. So it'd
be more efficient to open postings with MMapDirectory.

I refactored a bit the existing logic to better explain why every listed
file extension is open with mmap.

Since version 8.4, `MMapDirectory` has an optimization to read long[]
arrays directly in little endian order, which postings leverage. So it'd
be more efficient to open postings with `MMapDirectory`.

I refactored a bit the existing logic to better explain why every listed
file extension is open with `mmap`.
@jpountz jpountz added :Distributed Indexing/Store Issues around managing unopened Lucene indices. If it touches Store.java, this is a likely label. backport labels Feb 27, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Store)

@jpountz jpountz merged commit 331d4bb into elastic:7.x Feb 28, 2020
@jpountz jpountz deleted the backport/52641 branch February 28, 2020 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed Indexing/Store Issues around managing unopened Lucene indices. If it touches Store.java, this is a likely label.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants