Mailing List Archive

r3782 - trunk/perl/lib/KinoSearch/Docs/Cookbook
Author: creamyg
Date: 2008-08-28 15:18:51 -0700 (Thu, 28 Aug 2008)
New Revision: 3782

Modified:
trunk/perl/lib/KinoSearch/Docs/Cookbook/CustomQueryParser.pod
Log:
Tweak conclusion, fixing a wordo.


Modified: trunk/perl/lib/KinoSearch/Docs/Cookbook/CustomQueryParser.pod
===================================================================
--- trunk/perl/lib/KinoSearch/Docs/Cookbook/CustomQueryParser.pod 2008-08-28 22:17:02 UTC (rev 3781)
+++ trunk/perl/lib/KinoSearch/Docs/Cookbook/CustomQueryParser.pod 2008-08-28 22:18:51 UTC (rev 3782)
@@ -310,13 +310,13 @@
}
}

-=head1 IN ACTION
+=head1 USAGE

-Insert any of our custom parsers into the searcher.cgi to get a feel for how
-they behave:
+Insert any of our custom parsers into the search.cgi sample app to get a feel
+for how they behave:

my $parser = SimpleQueryParser->new( schema => $searcher->get_schema );
- my $query = $parser->parse( $cgi->param('q') );
+ my $query = $parser->parse( $cgi->param('q') || '' );
my $hits = $searcher->search(
query => $query,
offset => $offset,


_______________________________________________
kinosearch-commits mailing list
kinosearch-commits@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch-commits