RE: Lazy Loading

2014-01-01 Thread Uwe Schindler
You can write your own StoredFieldVisitor that excludes the document fields you don't want to have (and pass it to IndexReader.getDocument()). But keep in mind, that the underlying data structures do not support lazy loading at all. So whenever you want to load a single document field, the under

Re: Lazy Loading

2014-01-01 Thread Geet Gangwar
Thanks Uwe, Is there any way I can implement this using lucene 4 ? Regards Geet. On Wed, Jan 1, 2014 at 3:55 PM, Uwe Schindler wrote: > Hi, > > Lazy stored field loading is no longer available with Lucene 4. There is > only an emulation layer, but which does in fact not do lazy loading (it >

RE: Lazy Loading

2014-01-01 Thread Uwe Schindler
Hi, Lazy stored field loading is no longer available with Lucene 4. There is only an emulation layer, but which does in fact not do lazy loading (it just emulates for backwards compatibility) in the misc module. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.d

Lazy Loading

2014-01-01 Thread Geet Gangwar
Hi, I was trying to search for Lazy loading using lucene api, but not able to figure out how to implement it, Please help me. Regards Geet