📜 ⬆️ ⬇️

SVLAB Search Search Engine Algorithm

Search engine SVLAB Search .

image

The new search engine allows you to add your pages to search engine indexes using the Google Chrome plugin.
')
After installing the plugin, the "Save Page" button will be available to you. Each page you add to the search engine is associated with your IP. Thus, you can search on your page only from your IP. Search engine available at
svlaboratory.org/application/search and svlaboratory.com

Algorithm, implementation, technology stack.

Search engine indexes are stored in a MySQL database . As indices, the text is used inside the html tags of the pages received after they are loaded and displayed dynamically in the user's browser. Also, the text obtained after converting the words into the basic form by the library of the morphological analyzer Az.js is used .

By the same principle, indexes of links to media resources of HTML pages are saved: hyperlinks, images, videos.

All indexes correspond to separate tables of the MySQL database, the individual rows of which correspond to the description of the indexed pages.

Dynamic loading and parsing of pages is carried out by the Google Chrome plugin using the jQuery library.

After the plug-in is connected to the browser and the user clicks on the “Save Page” button on the desired page, parsing data is sent to the search engine web server written in PHP using the Zend Framework query application framework .

To search your pages, your data is associated with your IP address and a search request is sent from the web page of the svlaboratory.org/application/search and svlaboratory.com web application to the action of the Apache web server using Ajax technology.

As a page search algorithm, search queries to the MySQL database are used.
To search for sentences - sentences are divided into words, words are given in basic form by a morphological analyzer. Searches for individual words are carried out.

In the first place in the search results is the page in which the most words, pairs of words, and source sentences are found.

The specific implementation of the search engine in your case will depend only on your programming skills.

I invite everyone to use my search engine.

Best wishes,
SVLAB

Source: https://habr.com/ru/post/461767/


All Articles