Got invalid result from search engine

Author Message

Yannick Komotir

Tuesday 06 July 2010 5:14:54 am

Hi,

eZFind work well in dév. envirroment, since i copy my website to live environnement all query from ezfind are response by error :

Any idea ?

Got invalid result from search engine.<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 400 </title>
</head>
<body><h2>HTTP ERROR: 400</h2><pre>undefined field attr_category_k</pre>
<p>RequestURI=/solr/select</p><p><i><small><a href="http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>                                                
                                             

</body>
</html>

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Paul Borgermans

Tuesday 06 July 2010 7:25:27 am

There is a mismatch between the solr schema.xml and ezfind.ini datatype to field types matching.

Compare both files on dev and prod carefully

hth

Paul

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

Yannick Komotir

Friday 09 July 2010 7:12:17 am

Thank's Paul for your answer, really that was the source of my problems. This issues allow me to better understand how ez find work.

Great jobs !

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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 30 2025 19:33:18
Script start
Timing: Jan 30 2025 19:33:18
Module start 'layout'
Timing: Jan 30 2025 19:33:18
Module start 'content'
Timing: Jan 30 2025 19:33:18
Module end 'content'
Timing: Jan 30 2025 19:33:18
Script end

Main resources:

Total runtime0.0273 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.2813151.2266
Module start 'layout' 0.00490.0044 739.5078220.7188
Module start 'content' 0.00930.0163 960.2266998.9141
Module end 'content' 0.02560.0017 1,959.140633.9922
Script end 0.0273  1,993.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.3593140.0002
Check MTime0.00114.0528140.0001
Mysql Total
Database connection0.00114.049310.0011
Mysqli_queries0.003111.460030.0010
Looping result0.00000.044510.0000
Template Total0.00134.910.0013
Template load0.00113.917510.0011
Template processing0.00030.962810.0003
Override
Cache load0.00082.953810.0008
General
dbfile0.00114.056280.0001
String conversion0.00000.022740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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