Answer the question
In order to leave comments, you need to log in
Search engine in PHP?
Recommend a search engine in the form of a PHP library. That is, I wanted something like Sphinx, but without the need to install it on a server so that you can work with it on any hosting.
Answer the question
In order to leave comments, you need to log in
Use if it is not possible to use PostgreSQL or install Sphinx - use the Google Search API to search the site.
Try Zend_Search_Lucene . However, it has a peculiarity: it keeps all index files open during write operations for maximum performance. As a result, it works quite well on Masterhost virtual hosting (at least on the “Specialist” tariff), and does not work at all (leads to the “Too many open files” error) on Zenon virtual hosting , where the maximum allowed number of simultaneously open files is 64 .
If you are not satisfied with the options above, you can use my search engine, I wrote it really 3 years ago, but as an extreme case it is quite efficient (stemming + MySQL).
rapidshare.com/files/423392354/Gigant_SE_0.1.rar
An example of its work is here: ovidiopol.com
By the way, the idea is similar to phpmorphy, only without the German dictionary.
Ordinary full-text search is not suitable? If you do not need complex ranking, in my opinion, it is the most
Put Sphinx on a normal hosting, and for the index, share access to the database on the necessary hosts ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question