[hibernate-dev] [Search] Lazy initialization vs HSearch - Round 4

Guillaume Smet guillaume.smet at gmail.com
Mon Dec 17 08:10:20 EST 2012


Hi Emmanuel, Sanne,

On Mon, Dec 17, 2012 at 12:25 PM, Sanne Grinovero <sanne at hibernate.org> wrote:
> 2#
> I didn't see Guillaume asking about queries, so assuming he would just
> need a large write buffer where to keep the current Documents; this is
> a simpler patch as we already do build such a plan during any index
> flush / commit.
> Have a look into
>   org.hibernate.search.backend.impl.BatchedQueueingProcessor
>
> a simple way would be to have the method _performWorks_ to "shelf" the
> WorkQueue in a list rather than committing it, a more sophisticated
> patch (not sure if it's worth it) might want to reuse the same
> workQueue.

Yes #2 is what I had in mind at the moment.

I'll see what I can do on this subject during the holidays.

Thanks for the pointers!

-- 
Guillaume


More information about the hibernate-dev mailing list