Forums / Suggestions / eZFind2 index script fetch only objects not in IndexExclude

eZFind2 index script fetch only objects not in IndexExclude

Author Message

Denitsa M.

Tuesday 12 May 2009 8:34:17 am

Hi,

I had wondered for some time why does index script do subtree call with no regard for classes that are excluded in settings (ezfind.ini) and then in solr scripts simply skip to index the current iteration object if it is of one of those listed classes ... Isn't in more efficient to iterate only through objects that will be indexed indeed? For a database of 150-200 000 objects, if 50000 objects should not be indexed, this means that I will have memory and CPU power engaged pointlessly into fetching, caching and looping through 50000 objects that should be "skipped" ... This is not problem for small databases at the scale of below 60000-80000 objects, but larger?

Thanks,
Denitsa.

Iguana IT - http://www.iguanait.com

Nicolas Pastorino

Tuesday 12 May 2009 11:25:40 pm

Hi Denitsa,

Good catch indeed. Would you mind filing a bug report on http://issues.ez.no/ezfind ?

Thanks in advance,
Best Regards,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Denitsa M.

Wednesday 13 May 2009 2:59:49 am

Hi, Nic,

thanks for suggestion, I followed your advice and reported here http://issues.ez.no/IssueView.php?Id=14903&activeItem=1 :)

Deni

Iguana IT - http://www.iguanait.com