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: 563 All time: 5,349 This week: 387Up
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: 28
All time rank: 200149 in Canada Canada
Week rank: 652 Up15 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,349
This week:387Up

For more information send a message to info at phpclasses dot org.