From hibernate-commits at lists.jboss.org Tue Feb 19 17:46:59 2008 Content-Type: multipart/mixed; boundary="===============5074256493081975442==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r14341 - search/trunk/doc/reference/en/modules. Date: Tue, 19 Feb 2008 17:46:59 -0500 Message-ID: --===============5074256493081975442== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: epbernard Date: 2008-02-19 17:46:59 -0500 (Tue, 19 Feb 2008) New Revision: 14341 Modified: search/trunk/doc/reference/en/modules/configuration.xml Log: more doc Modified: search/trunk/doc/reference/en/modules/configuration.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- search/trunk/doc/reference/en/modules/configuration.xml 2008-02-19 19:1= 6:06 UTC (rev 14340) +++ search/trunk/doc/reference/en/modules/configuration.xml 2008-02-19 22:4= 6:59 UTC (rev 14341) @@ -503,6 +503,35 @@ engine + +
+ Hibernate Core 3.2.6 and beyond + + If you use Hibernate Core 3.2.6 and beyond, make sure to add + three additional event listeners that cope with collection + events + + <hibernate-configuration> + <session-factory> + ... + <event type=3D"post-collection-recreate"/> + <listener class=3D"org.hibernate.search.event.FullTextIndex= CollectionEventListener"/> + </event> + <event type=3D"post-collection-remove"/> + <listener class=3D"org.hibernate.search.event.FullTextIndex= CollectionEventListener"/> + </event> + <event type=3D"post-collection-update"/> + <listener class=3D"org.hibernate.search.event.FullTextIndex= CollectionEventListener"/> + </event> + </session-factory> +</hibernate-configuration> + + Those additional event listeners have been introduced in + Hibernate 3.2.6. note the + FullTextIndexCollectionEventListener usage.= You + need to explicitly reference those event listeners unless you use + Hibernate Annotations 3.3.1 and above. +
=
@@ -542,30 +571,30 @@ settings depending on the use case. During indexing operations trigger= ed by database modifications, the following ones are used: - hibernate.search.[default|<indexname>].transactio= n.merge_factor + hibernate.search.[default|<indexname>].tran= saction.merge_factor = - hibernate.search.[default|<indexname>].transactio= n.max_merge_docs + hibernate.search.[default|<indexname>].tran= saction.max_merge_docs = - hibernate.search.[default|<indexname>].transactio= n.max_buffered_docs + hibernate.search.[default|<indexname>].tran= saction.max_buffered_docs When indexing occurs via FullTextSession.index() (see ), the following properties are used: - hibernate.search.[default|<indexname>].batch.merg= e_factor + hibernate.search.[default|<indexname>].batc= h.merge_factor = - hibernate.search.[default|<indexname>].batch.max_= merge_docs + hibernate.search.[default|<indexname>].batc= h.max_merge_docs = - hibernate.search.[default|<indexname>].batch.max_= buffered_docs + hibernate.search.[default|<indexname>].batc= h.max_buffered_docs = --===============5074256493081975442==--