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.