Nicolas OTTAVI
|
Tuesday 10 August 2010 6:46:44 am
Hi, The ezfind moreLikeThis sounds appealing, but quite a "black box". I was wondering if this function could be used to find similar content based on the object ezkeyword attribute. I have done something like this:
{def $related_content=fetch( 'ezfind', 'moreLikeThis', hash( 'query_type', 'text',
'query', $node.data_map.tags.content.keyword_string, 'limit', 5, 'class_id', $node.class_identifier ))}{def $related_content=fetch( 'ezfind', 'moreLikeThis', hash( 'query_type', 'text', 'query', $node.data_map.tags.content.keyword_string,
'limit', 5,
'class_id', $node.class_identifier))}
But I got no results. Even if the query is just a keyword. When I enter this keyword in a search box it returns results ... Is there a way to find objects which share the same keywords as the current object ? Thanks for your help, Nico O
|