Can't seem to find word on this anywhere. I wanted to put relevancy ranking into my ZCatlog search result hit-list, but am finding no info in searches of zope.org, ZDP, or mailing lists. I've also tried guessing and reading code (in lib/python/SearchIndex), but my brain is melting. Any enlightenment here would be greatly appreciated. Sean ========================= Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 sean.upton@uniontrib.com =========================
Can't seem to find word on this anywhere. I wanted to put relevancy ranking into my ZCatlog search result hit-list, but am finding no info in searches of zope.org, ZDP, or mailing lists.
data_record_score_ is probably what you want. You could use it to do something like: <dtml-in "zcatalog(field=keyword)" sort=data_record_score_ reverse> id: <dtml-var id><br> score: <dtml-var data_record_score_><br> <hr> </dtml-in> Or for a more complex example, see this page: http://www.stormix.com/search_website_results/view_source -- Kevin Teague, Zopista http://www.stormix.com
participants (2)
-
Kevin Teague -
sean.upton@uniontrib.com