R
R
raventid2014-11-14 21:17:35
Sphinx
raventid, 2014-11-14 21:17:35

Should I use Sphinx, ElasticSearch or similar technology to organize search in a small project?

Hello.
To begin with, I want to describe the task:
There is a corporate project written in Zend Framework 1, MariaDB is currently installed as a base. The structure of the application is quite complex, but at the same time, due to the specialization of the organization, the client base for which you need to search will not exceed several thousand, possibly several tens of thousands of people.
The search must be carried out by full name.
Phone numbers.
Some types of documents.
Also under more difficult conditions.
The task is successfully solved by creating a number of search functions, but in the future, full-text search by messages (memos, etc.) may appear.
In this regard, I thought about introducing some kind of search engine in advance. I am not familiar with all representatives of this technology (sphinx, elasticsearch, solr), so I cannot imagine how difficult it will be to implement this business in ZF1 and how convenient it is to work.
In the back of my mind, I hope that this will save me from the clumsy search function by full name, which works rather crookedly with morphology.
Summary:
How justified is it to try to implement and use this type of tool with such a small base and with such a simple task?
UPD
I ended up trying ElasticSearch and Sphinx. Both out of the box solve all the basic search tasks without problems, the sphinx builds indexes very quickly and it is more economical, there are plenty of libraries for both. If you need a slightly more sophisticated tool with a more developed and versatile infrastructure, then you should look at Elastic, if you need a smart search engine and nothing more, then Sphinx is the best option.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2014-11-14
@raventid

These solutions will not help in any way to solve the problem of searching by name, since there is no morphology there. For example, the names of Alexander and Sasha cannot be found by a formological search through these search engines.

U
un1t, 2015-02-08
@un1t

I note that elasticsearch requires 2GB of RAM for comfortable operation. sphinx is much more economical in this regard. However, in terms of convenience and capabilities, elasticsearch is much better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question