lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Belisle <Nicolas.Beli...@bibl.ulaval.ca>
Subject Re: Directory Implementation: Java Content Repository
Date Fri, 16 Dec 2005 17:47:53 GMT
I will look into it.

Thanks for the suggestion,

Nicolas


Le 12:25 2005-12-16, vous avez écrit:
>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: java-dev-unsubscribe@lucene.apache.org
>For additional commands, e-mail: java-dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message