Forums / Extensions / eZ Find / moreLikeThis fails

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

eZ debug

Timing: Jan 17 2025 23:46:46
Script start
Timing: Jan 17 2025 23:46:46
Module start 'content'
Timing: Jan 17 2025 23:46:46
Module end 'content'
Timing: Jan 17 2025 23:46:46
Script end

Main resources:

Total runtime0.0161 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.7344180.7891
Module start 'content' 0.00670.0043 768.523499.0547
Module end 'content' 0.01100.0051 867.578174.7031
Script end 0.0161  942.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.8603120.0002
Check MTime0.00116.8120120.0001
Mysql Total
Database connection0.00084.999710.0008
Mysqli_queries0.004225.716440.0010
Looping result0.00000.135920.0000
Template Total0.004829.810.0048
Template load0.00095.880010.0009
Template processing0.003923.907010.0039
Override
Cache load0.00074.194710.0007
General
dbfile0.00032.0841100.0000
String conversion0.00000.048730.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs