PHP Classes

Ssearch: Search and rank text results in an array

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 567 All time: 5,385 This week: 299Up
Version License PHP version Categories
ssearch 2.7GNU General Publi...5PHP 5, Searching, Text processing


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: 31
All time rank: 200348 in Canada Canada
Week rank: 373 Up6 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  
This week:0
All time:5,385
This week:299Up