How to get related content WITHOUT using tags?

I need a way to get related content without using tags because in my case there are too many tags and those tags are inserted by users (so in most cases they forgot to use them).

Youtube does the same: if, for example, you watch a funny video, then youtube shows you other funny videos in the corresponding content.

For example, if the title of the article is “US President Barack Obama, head to Miami,” I need to get other articles containing “Barack Obama,” “USA,” “president,” or “Miami” in the title and, if possible, other articles of the same themes.

THIS MAY BE A VERY COMPLEX TO DO, so I asked you for some advice.

+5
source share
1 answer

A possible solution is to use Zend Lucene.
http://framework.zend.com/manual/1.12/en/zend.search.lucene.html

This is an easy to use search engine that works fully in php. You can use its component separately from the Zend Framework, and it is quite easy to implement.

List all content. Use the enhancement function (for some reason, undocumented) to make parts of the content more relevant (IE, title, user tags)
Example here: http://davedash.com/2007/05/29/boosting-terms-in-zend -search-lucene /

. (, , )

.

:
- - - - , (, , )

+1

All Articles