Hi I am trying to use RAMDirectory to store the input HTML documents which are used to create index by the IndexHTML demo program, but I am facing problems. I tried to get individual InputStream objects for individual files from RAMDirectory & pass it to HTMLParser class to parse the file, but the HTMLParser class accepts java.io.InputStream object while RAMDirectory returns lucene.store.InputStream object. Is there any way to perform any conversion between there two objects? or do I have to modify HTMLParser class & all other classes it uses to achieve this?? Please let me know regards Vinay.
--- Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > Look at RAMDirectory. > > Otis > > --- Vinay Kakade <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to use Lucene for indexing some documents > which > > are in memory. I do not want to store them in a > > seperate directory. > > The IndexWriter class accepts directory name, > where > > all documents to be indexed are stored. Is there > any > > way by which we can specify memory buffer in which > > documents are stored while creating Index? > > Thanks > > Vinay. > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Web Hosting - Let the expert host your site > > http://webhosting.yahoo.com > > > > -- > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host your site > http://webhosting.yahoo.com > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
