You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2012/04/16 21:42:53 UTC

[lucy-commits] svn commit: r1326772 - in /lucy/trunk/perl/lib/Lucy/Docs/Tutorial: FieldType.pod QueryObjects.pod

Author: marvin
Date: Mon Apr 16 19:42:53 2012
New Revision: 1326772

URL: http://svn.apache.org/viewvc?rev=1326772&view=rev
Log:
Fix a couple tutorial glitches.

Modified:
    lucy/trunk/perl/lib/Lucy/Docs/Tutorial/FieldType.pod
    lucy/trunk/perl/lib/Lucy/Docs/Tutorial/QueryObjects.pod

Modified: lucy/trunk/perl/lib/Lucy/Docs/Tutorial/FieldType.pod
URL: http://svn.apache.org/viewvc/lucy/trunk/perl/lib/Lucy/Docs/Tutorial/FieldType.pod?rev=1326772&r1=1326771&r2=1326772&view=diff
==============================================================================
--- lucy/trunk/perl/lib/Lucy/Docs/Tutorial/FieldType.pod (original)
+++ lucy/trunk/perl/lib/Lucy/Docs/Tutorial/FieldType.pod Mon Apr 16 19:42:53 2012
@@ -45,7 +45,7 @@ L<StringType|Lucy::Plan::StringType>, wh
 Analyzer to break up text into individual fields.  Furthermore, we'll mark
 this StringType as unindexed, so that its content won't be searchable at all.
 
-    my $url_type = Lucy::Plan::StringType( indexed => 0 );
+    my $url_type = Lucy::Plan::StringType->new( indexed => 0 );
     $schema->spec_field( name => 'url', type => $url_type );
 
 To observe the change in behavior, try searching for C<us_constitution> both

Modified: lucy/trunk/perl/lib/Lucy/Docs/Tutorial/QueryObjects.pod
URL: http://svn.apache.org/viewvc/lucy/trunk/perl/lib/Lucy/Docs/Tutorial/QueryObjects.pod?rev=1326772&r1=1326771&r2=1326772&view=diff
==============================================================================
--- lucy/trunk/perl/lib/Lucy/Docs/Tutorial/QueryObjects.pod (original)
+++ lucy/trunk/perl/lib/Lucy/Docs/Tutorial/QueryObjects.pod Mon Apr 16 19:42:53 2012
@@ -71,7 +71,8 @@ subroutine:
 =head2 Adaptations to search.cgi
 
 The "category" constraint will be added to our search interface using an HTML
-"select" element:
+"select" element (this routine will need to be integrated into the HTML
+generation section of search.cgi):
 
     # Build up the HTML "select" object for the "category" field.
     sub generate_category_select {