tonyguo2022 opened a new issue, #763:
URL: https://github.com/apache/lucenenet/issues/763

   We'd like to build Lucene Index over cloud storage. Most cloud storage 
operations are asynchronized. I am wondering if Lucene.NET library can add a 
group of API to Directory and IndexInput/IndexOutput classes to support async 
operations. e.g.:
   
   existing API in class DataInput:
   public virtual void ReadBytes(byte[] b, int offset, int len, bool useBuffer)
   
   New API:
   public virtual async Task ReadBytesAsync(byte[] b, int offset, int len, bool 
useBuffer, CancellationToken cancellationToken)
   
   There could be a default implementation to call the sync method, but people 
can also override it to call async cloud API to read from remote. 
   
   Thanks.


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to