Problem with indexing objects in eZ Find

Author Message

Anders Berre

Friday 11 February 2011 12:39:25 am

Hi there,

Are having some problems with indexing some objects with eZ Find. The strange thing is that some objects under the same parent node with same class is indexed. Now I am stuck, and don`t know what to do. Switching of the eZ Find search, searching with standard eZ Search gives me the objects.

Any suggestion to what to do?

Note:

http://issues.ez.no/17251 is not the problem, since I don`t have any datetime- or datefield on the class.

Anders Berre

Friday 11 February 2011 1:15:16 am

Soloution:

Check that int fields have an integer. I replaced the empty fields with 0 and the objects become indexed.

Thanks to @andrewduck Andrew Duck

Andrew Duck

Friday 11 February 2011 1:21:45 am

This extends to any fields in solr that receive invalid values. This is most likely to occur if you are manipulating object attributes directly in PHP as default values may not be set for these attributes, in eZ Find 2.2 these objects will fail indexing silently and simply not appear in the index.

From eZ Find 2.3 as per the above issue report it should at least be noted that an object was not indexed.

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

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 29 2025 23:50:32
Script start
Timing: Jan 29 2025 23:50:32
Module start 'layout'
Timing: Jan 29 2025 23:50:32
Module start 'content'
Timing: Jan 29 2025 23:50:33
Module end 'content'
Timing: Jan 29 2025 23:50:33
Script end

Main resources:

Total runtime0.7722 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.2656151.2266
Module start 'layout' 0.00580.0026 739.492236.6875
Module start 'content' 0.00830.7629 776.1797477.1250
Module end 'content' 0.77120.0009 1,253.304711.8125
Script end 0.7721  1,265.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4063160.0002
Check MTime0.00130.1657160.0001
Mysql Total
Database connection0.00090.114410.0009
Mysqli_queries0.734495.1109580.0127
Looping result0.00040.0533560.0000
Template Total0.742996.220.3714
Template load0.00170.221620.0009
Template processing0.741195.980920.3706
Template load and register function0.00030.038510.0003
states
state_id_array0.00160.205510.0016
state_identifier_array0.00090.110820.0004
Override
Cache load0.00140.1813170.0001
Sytem overhead
Fetch class attribute can translate value0.00050.062720.0002
Fetch class attribute name0.00140.180840.0003
XML
Image XML parsing0.00200.261120.0010
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00290.3708180.0002
String conversion0.00000.001040.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs