Updating solr index desn't remove keys of the removed objects in index

Author Message

Jakub Derdziak

Thursday 07 October 2010 5:56:07 am

I have project on few computers, so I often move db's from one to another. After I update new db I run solr index update. Now I can see in search results, that ezFind still find objects, that was in db before. Why? How to remove them?

gilles guirand

Thursday 07 October 2010 1:15:06 pm

Did you try to use the clean parameter ? like this :

php extension/ezfind/bin/php/updatesearchindexsolr.php -s <admin siteaccess> --php-exec=php --clean

--
Gilles Guirand
eZ Community Board Member
http://twitter.com/gandbox
http://www.gandbox.fr

Jakub Derdziak

Thursday 07 October 2010 10:32:38 pm

Tried it already. No success. (Is there way to manually remove index?)

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 18 2025 03:11:11
Script start
Timing: Jan 18 2025 03:11:11
Module start 'layout'
Timing: Jan 18 2025 03:11:11
Module start 'content'
Timing: Jan 18 2025 03:11:12
Module end 'content'
Timing: Jan 18 2025 03:11:12
Script end

Main resources:

Total runtime0.6427 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.5078152.6875
Module start 'layout' 0.00580.0024 742.195339.5156
Module start 'content' 0.00820.6332 781.7109528.7422
Module end 'content' 0.64140.0012 1,310.45318.0938
Script end 0.6427  1,318.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4603160.0002
Check MTime0.00120.1945160.0001
Mysql Total
Database connection0.00070.110810.0007
Mysqli_queries0.605594.2155570.0106
Looping result0.00050.0716550.0000
Template Total0.618496.220.3092
Template load0.00180.286920.0009
Template processing0.616695.940920.3083
Template load and register function0.00020.031010.0002
states
state_id_array0.00060.090310.0006
state_identifier_array0.00070.101820.0003
Override
Cache load0.00150.2305100.0001
Sytem overhead
Fetch class attribute can translate value0.00050.076620.0002
Fetch class attribute name0.00090.147540.0002
XML
Image XML parsing0.00060.095420.0003
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00080.1235170.0000
String conversion0.00000.001440.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs