📜 ⬆️ ⬇️

AJAX search tag cloud with a dynamic context-dependent rating. Prototype

An idea emerged in the creation and implementation of a search engine based on
AJAX clouds with context-sensitive tag rating. Possible application - a search board with a convenient search,
stimulating to enter informative messages.

image

A prototype system was created.
')
System features:


The created prototype implements the described behavior, but there are problems,
which do not allow to start the project in operation.

Below is more information and a link to the implementation of the prototype.

UPD The purpose of the publication is to attempt to move a stalled project from a dead point.
Perhaps some solutions will be useful to readers.


The client side is written in Javascript, without using third-party libraries,
which made it possible to achieve a minimum size (<8KB) and high speed operation.

The main problem is the performance of server requests.
At the moment, there are about 500 tags in the database and there is already a low execution speed.
The slowest - determining the rating of tags in the cloud for the current request.
In the request for the entered tags to search for all the posts that contain them,
select the remaining tags from them and sort them by their entry in the current request.
Caching is likely to fail - too many unique queries.

An additional problem is the assessment of the relevance of the tags.
At the moment, the system does not take into account the meaning of the tags and their order in the post.
This leads to the fact that the most rated are tags that do not carry meaning (conjunctions, prepositions).
Although the complexity of the algorithm for determining the rating will lead to an even greater drop in performance.

Source Code - code.google.com/p/mytagdb/downloads/list
Online prototype - www.ajax.idhost.kz/tag

In the comments I would like to discuss ways to increase productivity and improve the relevance of the issue.

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


All Articles