So, what's the usage of this propoerty in the Field class?
On 4/4/07, Yonik Seeley <[EMAIL PROTECTED]> wrote:
On 4/4/07, jafarim <[EMAIL PROTECTED]> wrote:
> Any way, is there any way to tell lucene that a field is to be
lazy-loaded,
> from the very beginning of field construction?
No, that da
Lazy loading is handled through the FieldSelector interface on
IndexReader.doc() and some variations. There is nothing special that
need be done during indexing to mark a field as lazy. The isLazy
method merely lets you know later, after loading a Document, if the
field is, indeed, lazy.
On 4/4/07, jafarim <[EMAIL PROTECTED]> wrote:
Any way, is there any way to tell lucene that a field is to be lazy-loaded,
from the very beginning of field construction?
No, that data is not stored in the index.
Lazy field loading is specified only when retrieving the stored fields
of a document
Hi
I wonder why there is not setter method for the "lazy" member variable in
Field class. Does that mean the propoerty is nominal and setting it does not
have any effect, or am I missing some point?
Any way, is there any way to tell lucene that a field is to be lazy-loaded,
from the very beginning