[hibernate-commits] Hibernate SVN: r11174 - branches/Branch_3_2/HibernateExt/search/doc/reference/en/modules.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Feb 8 23:22:24 EST 2007


Author: epbernard
Date: 2007-02-08 23:22:24 -0500 (Thu, 08 Feb 2007)
New Revision: 11174

Modified:
   branches/Branch_3_2/HibernateExt/search/doc/reference/en/modules/query.xml
Log:
package errors in Search documentation

Modified: branches/Branch_3_2/HibernateExt/search/doc/reference/en/modules/query.xml
===================================================================
--- branches/Branch_3_2/HibernateExt/search/doc/reference/en/modules/query.xml	2007-02-09 04:14:30 UTC (rev 11173)
+++ branches/Branch_3_2/HibernateExt/search/doc/reference/en/modules/query.xml	2007-02-09 04:22:24 UTC (rev 11174)
@@ -21,9 +21,9 @@
 
   <para>The search facility is built on native Lucene queries.</para>
 
-  <programlisting>org.apache.lucene.QueryParser parser = new QueryParser("title", new StopAnalyzer() );
+  <programlisting>org.apache.lucene.queryParser.QueryParser parser = new QueryParser("title", new StopAnalyzer() );
 
-org.hibernate.lucene.search.Query luceneQuery = parser.parse( "summary:Festina Or brand:Seiko" );
+org.apache.lucene.search.Query luceneQuery = parser.parse( "summary:Festina Or brand:Seiko" );
 <emphasis role="bold">org.hibernate.Query fullTextQuery = fullTextSession.createFullTextQuery( luceneQuery );
         </emphasis>
 




More information about the hibernate-commits mailing list