[opencms-dev] Sort search results weighting popularity and age

Jonathan Woods jonathan.woods at scintillance.com
Wed May 17 12:14:46 CEST 2006


Alessandro -

Nice idea.  I've not done it, but I believe the search engine part would
best be done by writing your own collector implementation - i.e. a class
which implements I_CmsResourceCollector and is referred to underneath the
node /opencms/vfs/resources/collectors in opencms-vfs.xml.

Jon

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Alessandro Magnolo
Sent: 17 May 2006 11:04
To: The OpenCms mailing list
Subject: [opencms-dev] Sort search results weighting popularity and age

I would like to sort search results in OpenCms weighting the page popularity
(how many times the page was viewed) and age (how old the content is).
Has anybody done this before?

In OpenCms we have the publish date, so we know the age.
Regarding popularity, maybe it's possible to retrieve this information from
the flex cache... is it?

Then, the next step would be to make the search engine weight in these
values in the results list (toghether with relevancy as currently defined).
Any suggestion on how to do it?

regards,
Alessandro Magnolo

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list