Changes
Title
unchanged
An alternative way to ElasticSearch
Category
unchanged
How-tos
Yii version
unchanged
all
Tags
unchanged
Index Engine
Content
changed
Hello!# myEleasticSearchAlternative
This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.
***The sample code is adapted for the yii framework, but because of its simplicity it can easily be ported to other frameworks like symphony.*
## Why this post?
**
The amount of data increases every day. As a result, the search in the databases becomes longer and longer. Conventional data structures must be realigned in order to be able to access information more quickly. There are already database systems like Elasticsearch that can do this. However, such systems also have disadvantages.[...]
- A second database must be set up, which in principle contains the same data.
**## Who will benefit from this post?
**
This information is useful for any programmer who wants to integrate an index database into his existing system in a simple way without additional effort.
**### The basic idea behind Indexing-machines
**
We will use this simple Table to demonstrate what an Index-machine does
```
Tablename: object
```
UID TITLE DESCRIPTION
4711 Rudyard Kipling If you can keep your head when all about you …
4712 John Magee I have slipped the surly bonds of Earth and danced the skies on laugher-silvered wings …[...]
1012 123 4712 6
…
```
```
Systemtable: fields[...]
123 object Description
…
```
```
Tablename: word[...]
```
**### Some basic examples
**
```[...]
```
**### Conclusion
**
These are my basic observations on this subject. These are the first steps to a search-engine that can index existing tables so that informations can be found quickly.
**### Thanks to
**
Translated with www.DeepL.com/Translator
Elasticsearch: https://www.elastic.co/blog/a-practical-introduction-to-elasticsearch
**Github**
https://github.com/Necip8/ncp_search
I hope this information helps you to build your own super search engine!