AnsweredAssumed Answered

Is there a way to specify which fields to load from Lucene?

Question asked by hbf on Sep 17, 2008
Dear list,

I am doing a Lucene search and want to load some properties directly from the LuceneResultSet via getDocument(), bypassing the NodeService. Is there a way to tell the document to only load some properties? I want to avoid loading everything for the document in order to make this as fast as possible.

Has anybody tried doing this? I remember vaguely reading a sentence somewhere "you can specify which fields to return" but I just don't remember where, sadly!

Many thanks,