Nicolas Belisle wrote:
Since Java Content Repository uses java.io.InputStream, I extended RAMInputStream to achieve random reads from the java.io.InputStream. (Have a better idea ?)

So you're buffering the entire file? That doesn't sound good. If there are no provisions for random access, then Lucene files should perhaps be modelled as a JCR directory of fixed-size buffers. Then you could subclass BufferedIndexInput.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to