jpountz opened a new pull request #1179: LUCENE-9147: Move the stored fields 
index off-heap.
URL: https://github.com/apache/lucene-solr/pull/1179
 
 
   This replaces the index of stored fields and term vectors with two
   `DirectMonotonic` arrays. `DirectMonotonicWriter` requires to know the number
   of values to write up-front, so incoming doc IDs and file pointers are 
buffered
   on disk using temporary files that never get fsynced, but have index headers
   and footers to make sure any corruption in these files wouldn't propagate to 
the
   index.
   
   `DirectMonotonicReader` gets a specialized `binarySearch` implementation that
   leverages the metadata in order to avoid going to the IndexInput as often as
   possible. Actually in the common case, it would only go to a single
   sub `DirectReader` which, combined with the size of blocks of 1k values, 
helps
   bound the number of page faults to 2.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to