Re: Performance Difference between files getting opened with IoContext.RANDOM vs IoContext.READ

2024-10-15 Thread Navneet Verma
Hi Uwe, *>> thinking about it a bit more: In 10.x we already have some ways to **preload data with WILL_NEED (or similar). Maybe this can also be used on **merging when we reuse an already open IndexInput. Maybe it is possible **to change the madvise on an already open IndexInput and change it **b

Re: Performance Difference between files getting opened with IoContext.RANDOM vs IoContext.READ

2024-10-15 Thread Uwe Schindler
Hi, The problem with your aproach is that you can change the madvise on a clone, but as the underlying memory is the same for the cloned index input, it won't revert back to RANDOM. Basically there's no need to clone or create a slice. We should better allow to change the advise for an Index

Re: Learning resources for Lucene Development

2024-10-15 Thread Marc Davenport
Froh, This is a great shameless self plug. I will start to look at the examples you've written and see if I can find questions that might both illuminate things for me as well as enrich the content. Thanks! Marc On Wed, Oct 9, 2024 at 3:30 PM Michael Froh wrote: > Hi Marc, > > In some shameless