moreLikeThis fails

Author Message

Sylvain Gogel

Wednesday 15 April 2009 9:27:05 am

Hi there i'm testing ezFind2 stable moreLikeThis query

Here the template code:

{def $mlt = fetch(ezfind,moreLikeThis,hash( 'query_type', 'nid',
                                            'query', $current_node.node_id,
                                            'limit', ezini('News', 'RelatedContentItems', 'content.ini'),
                                            'class_id', array('sp_meeting', 'sp_article', 'sp_news')
                                             ))}
{$mlt|attribute(show, 2)}

This code is in a template included in several others in this way

{include uri='design:parts/related.tpl' current_node=$node}

and here is the answer

SearchResult 	boolean 	false
SearchCount 	integer 	0
StopWordArray 	array 	Array(0)
SearchExtras 	object[ezfSearchResultInfo] 	Object
>facet_fields 	NULL 	
>facet_queries 	NULL 	
>engine 	string 	'eZ Find 2.0 search plugin © 2008 eZ Systems AS, powered by Apache Solr 1.3'
>hasError 	boolean 	true
>error 	string 	'Server Indisponible'
>responseHeader 	NULL 	
>spellcheck 	boolean 	false
>spellcheck_collation 	boolean 	false

Solr is running and answer nicely to other queries like ezfind,search

Any idea what's wrong?

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

Stéphane Couzinier

Saturday 01 August 2009 10:06:17 am

have you find a way to fix it.

solr server return

HTTP ERROR: 400
undefined field meta_object_id_
RequestURI=/solr/mlt
Powered by Jetty://

basic search work without any pb.

http://www.kouz-cooking.fr

Bruce Morrison

Monday 10 May 2010 2:01:07 am

Hi I've found the issue when using the "oid" query type - patch here issues.ez.no/IssueView.php?Id=15243 Cheers Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Paul Borgermans

Monday 10 May 2010 8:20:09 am

Thanks for bumping this up along with the issue update, fixed in trunk now

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.