Exclude elements in search

Author Message

Jonathan Clavier

Tuesday 17 May 2011 2:04:28 am

Hello,
I use the extension ezfind, and in the configuration file site.ini I added the settings to not index:

[IndexExclude]
ClassIdentifierList[]=menu_0
ClassIdentifierList[]=template_look

But when I did a search, I have the title of class template_look and elements of the Media folder, then I do not want to have.

I have done this:

php extension/ezfind/bin/php/updatesearchindexsolr.php -s site_admin
 php extension/ezfind/bin/php/updatesearchindexsolr.php

How to fix this problem?

Paul Borgermans

Wednesday 18 May 2011 11:52:38 am

Hello Jonathan

use the option --clear (or even --clear-all if there are no other sites using the same index)

This will reset the index before indexing

Cheers

Paul

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

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 00:47:40
Script start
Timing: Jan 30 2025 00:47:40
Module start 'layout'
Timing: Jan 30 2025 00:47:40
Module start 'content'
Timing: Jan 30 2025 00:47:40
Module end 'content'
Timing: Jan 30 2025 00:47:40
Script end

Main resources:

Total runtime0.0234 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.1328151.2109
Module start 'layout' 0.00650.0029 739.343836.6563
Module start 'content' 0.00930.0125 776.000090.2813
Module end 'content' 0.02180.0015 866.281329.9766
Script end 0.0234  896.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002410.2513140.0002
Check MTime0.00104.4548140.0001
Mysql Total
Database connection0.00197.909310.0019
Mysqli_queries0.002510.683330.0008
Looping result0.00000.046910.0000
Template Total0.00114.910.0011
Template load0.00083.589910.0008
Template processing0.00031.269310.0003
Override
Cache load0.00062.435710.0006
General
dbfile0.006628.406880.0008
String conversion0.00000.020440.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