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 2010/11/07 02:38:42 UTC
[lucy-commits] svn commit: r1032194 -
/incubator/lucy/trunk/perl/lib/Lucy/Docs/Cookbook/CustomQuery.pod
Author: marvin
Date: Sun Nov 7 01:38:42 2010
New Revision: 1032194
URL: http://svn.apache.org/viewvc?rev=1032194&view=rev
Log:
Whitespace only.
Modified:
incubator/lucy/trunk/perl/lib/Lucy/Docs/Cookbook/CustomQuery.pod
Modified: incubator/lucy/trunk/perl/lib/Lucy/Docs/Cookbook/CustomQuery.pod
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/perl/lib/Lucy/Docs/Cookbook/CustomQuery.pod?rev=1032194&r1=1032193&r2=1032194&view=diff
==============================================================================
--- incubator/lucy/trunk/perl/lib/Lucy/Docs/Cookbook/CustomQuery.pod (original)
+++ incubator/lucy/trunk/perl/lib/Lucy/Docs/Cookbook/CustomQuery.pod Sun Nov 7 01:38:42 2010
@@ -266,9 +266,9 @@ must be overridden.
next() advances the Matcher to the next valid matching doc.
sub next {
- my $self = shift;
+ my $self = shift;
my $doc_ids = $doc_ids{$$self};
- my $tick = ++$tick{$$self};
+ my $tick = ++$tick{$$self};
return 0 if $tick >= scalar @$doc_ids;
return $doc_ids->[$tick];
}
@@ -278,8 +278,8 @@ exhausted. (L<Document numbers|Lucy::Do
a sentinel.)
sub get_doc_id {
- my $self = shift;
- my $tick = $tick{$$self};
+ my $self = shift;
+ my $tick = $tick{$$self};
my $doc_ids = $doc_ids{$$self};
return $tick < scalar @$doc_ids ? $doc_ids->[$tick] : 0;
}