diff options
Diffstat (limited to 'src/search.php')
-rw-r--r-- | src/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.php b/src/search.php index 3900f6b..29bbc7a 100644 --- a/src/search.php +++ b/src/search.php @@ -74,7 +74,7 @@ function search($file,$word,&$statsList) $freq=readInt($file); $docInfo[$i]=array("idx"=>$idx,"freq"=>$freq,"rank"=>0.0); $totalFreq+=$freq; - if ($statInfo["full"]) $totalfreq+=$freq; + if ($statInfo["full"]) $totalFreq+=$freq; } // read name an url info for the doc for ($i=0;$i<$numDocs;$i++) |