[hibernate-dev] [Hibernate Search] session.flushToIndexes()

2008-06-21 Thread Emmanuel Bernard
I never liked the way we work around mass insertion and OOME today hibernate.search.worker.batch_size has many drawbacks - the value is not accessible programatically - it applies to any operations regardless of mass indexing - it is used 99% of the time in close conjunction with a % and ses

Re: [hibernate-dev] [Hibernate Search] session.flushToIndexes()

2008-06-21 Thread Sanne Grinovero
looks like a very good idea, does this mean people don't need to do this (taken from docs): "It is critical that batchSize in the previous example matches the batch_size value described previously." ? Should we remove the option and references from documentation? 2008/6/21 Emmanuel Bernard <[EMAIL

[hibernate-dev] RE: hibernate-dev Digest, Vol 24, Issue 19

2008-06-21 Thread John Griffin
ttp://in.relation.to http://blog.emmanuelbernard.com http://twitter.com/emmanuelbernard -- next part -- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20080621/7f532233 /attachment-0001.html --

[hibernate-dev] [Hibernate Search] session.flushToIndexes()

2008-06-21 Thread John Griffin
ttp://in.relation.to http://blog.emmanuelbernard.com http://twitter.com/emmanuelbernard -- next part -- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/hibernat

Re: [hibernate-dev] [Hibernate Search] session.flushToIndexes()

2008-06-21 Thread Emmanuel Bernard
yes, that's the whole point :) the doc will have to be adjusted probably mark the feature as deprecated. On Jun 21, 2008, at 18:05, Sanne Grinovero wrote: looks like a very good idea, does this mean people don't need to do this (taken from docs): "It is critical that batchSize in the previ