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.

eZ debug

Timing: Jan 18 2025 01:59:01
Script start
Timing: Jan 18 2025 01:59:01
Module start 'layout'
Timing: Jan 18 2025 01:59:01
Module start 'content'
Timing: Jan 18 2025 01:59:01
Module end 'content'
Timing: Jan 18 2025 01:59:01
Script end

Main resources:

Total runtime0.7725 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.9375152.6250
Module start 'layout' 0.00680.0038 740.562539.4453
Module start 'content' 0.01060.7603 780.0078635.3438
Module end 'content' 0.77090.0015 1,415.351612.1641
Script end 0.7724  1,427.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4573160.0002
Check MTime0.00140.1804160.0001
Mysql Total
Database connection0.00190.241010.0019
Mysqli_queries0.709791.8741660.0108
Looping result0.00080.0992640.0000
Template Total0.734095.020.3670
Template load0.00220.286020.0011
Template processing0.731794.726620.3659
Template load and register function0.00010.017110.0001
states
state_id_array0.00110.136210.0011
state_identifier_array0.00120.157420.0006
Override
Cache load0.00180.2378280.0001
Sytem overhead
Fetch class attribute can translate value0.00060.082040.0002
Fetch class attribute name0.00130.169270.0002
XML
Image XML parsing0.00500.647840.0013
class_abstraction
Instantiating content class attribute0.00000.001770.0000
General
dbfile0.00370.4849290.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs