Re: [hibernate-dev] [Hibernate Search] Feedback on Document Field lazy loading

2008-06-15 Thread Sanne Grinovero
what is your goal? performance? from the code I guess you don't intend to support something like setProjection( FullTextQuery.DOCUMENT, lastname ); as you skip fieldnames processing when you hit DOCUMENT; I agree with you it would be a bit stupid, but someone could want to do that for some

Re: [hibernate-dev] [Hibernate Search] Feedback on Document Field lazy loading

2008-06-15 Thread Emmanuel Bernard
On Jun 15, 2008, at 04:24, Sanne Grinovero wrote: what is your goal? performance? Performance, memory consumption, reduce the gap between entity loading and projection from a perf point of view (assuming projection loads the same amount of data). from the code I guess you don't