PHP Classes

Ssearch: Search and rank text results in an array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-13 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 554 All time: 5,128 This week: 1,049Up
Version License PHP version Categories  
ssearch 2.7GNU General Publi...5PHP 5, Searching, Text processing
Description Author  

This class can be used to search and rank text results in an array.

It can perform a query with keywords to be search in text entries stored in an array data set.

The class can return the search results sorted by relevance ranking.

Picture of Richard Carson
  Performance   Level  
Name: Richard Carson <contact>
Classes: 4 packages by
Country: Canada Canada
Age: 23
All time rank: 200547 in Canada Canada
Week rank: 866 Up21 in Canada Canada Up

libPhonetiq is copyright of Richard Carson, 2014 and is released under V3 of the GPL

Before starting a search, the begin($query) function must be called with a search query as it's argument.

Afterwords, call next($row) for each row in which you wish to search. $row must be an array of strings.

When you call next() on a row, it will return either a score, or false if that score is too low to be included in results.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example script
Plain text file libphonetiq.class.php Class rename
Accessible without login Plain text file LICENSE Lic. GPL V3
Accessible without login Plain text file README Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%Total:554All time:5,128
 This week:0This week:1,049Up