Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Commits List »

[hibernate-commits] Hibernate SVN: r14927 -
 search/trunk/doc/reference/en/modules.

hibernate-commits

2008-07-14


Author LoginPost Reply
Author: hardy.ferentschik
Date: 2008-07-14 12:11:15 -0400 (Mon, 14 Jul 2008)
New Revision: 14927

Modified:
 search/trunk/doc/reference/en/modules/query.xml
Log:
HSEARCH-179:
Made it explicit that filter definitions are global.

Modified: search/trunk/doc/reference/en/modules/query.xml
===================================================================
--- search/trunk/doc/reference/en/modules/query.xml  2008-07-14 13:41:14 UTC (rev 14926)
+++ search/trunk/doc/reference/en/modules/query.xml  2008-07-14 16:11:15 UTC (rev 14927)
@@(protected) @@
  <para>Declaring filters is done through the
  <classname>@(protected)
  be on any <literal>@(protected)
-   filter is later applied to. Filter names must be unique since all filters
-   are globally visible. Each named filter has to point to an actual filter
-   implementation.</para>
+   filter is later applied to. This means filter definitions are global and
+   their names must be unique. A <classname>SearchException</classname> is
+   thrown in case two different <classname>@(protected)>
+   annotations with the same name are defined. Each named filter has to point
+   to an actual filter implementation.</para>

  <programlisting>@(protected)
@Indexed
@@(protected) @@
  <classname>CachingWrapperFilter.</classname> The wrapper will cache the
  <classname>BitSet</classname> returned from the
  <methodname>bits(IndexReader reader)</methodname>method to avoid expensive
-   recomputation. </para>
+   recomputation.</para>

  <para>Hibernate Search also takes care of this aspect of caching. If the
  <literal>cache</literal> flag of <classname>@(protected)

_______________________________________________
hibernate-commits mailing list
hibernate-commits@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-commits
©2008 gg3721.com - Jax Systems, LLC, U.S.A.