Search by Relevance

Package:
Search by Relevance
Summary:
Sort arrays or MySQL searches by relevance
Groups:
Data types, Databases, Searching
Author:
Carlson A. Soares
Description:
This class can be used to sort arrays or MySQL searches by relevance.

It can search for a string in an array of a MySQL query result.

The class returns an array of search result entries that is sorted by a criteria of relevance implemented within the class.

A number representing the relevance is returned within the sorted search results.


Powered by Gewgley