Indexing attributes

Author Message

Felix Laate

Friday 11 January 2008 5:56:11 am

Is there a way to control which attributes of a certain class should be included in the indexing?

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Kåre Køhler Høvik

Friday 11 January 2008 6:18:59 am

Hi

eZ Find will index the content depending on how the content classes in eZ Publish are configured. It index the same data as the regular search in eZ Publish.

Kåre Høvik

Francisca Hernández

Monday 11 February 2008 5:04:56 am

hi Kåre,

i have the next situation in my project.
Class A with attributes (name, short_name, description, image) all are not searcheable.

if i search a word that is in the name of one object of class A, the search returns this object.

my question is how can i exclude this class from search?

thanks, fran

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

Kåre Køhler Høvik

Saturday 22 March 2008 3:49:19 am

Hi

It's not possible to exclude this object at the moment. However, I think this sounds like a bug. If all attributes are non-searchable, the object itself should not be searchable. Can you please create a bug report about this here : http://issues.ez.no/ProjectSelect.php?Id=8

Best regards
Kåre

Kåre Høvik

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

Main resources:

Total runtime0.5378 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 587.9375152.6250
Module start 'layout' 0.00760.0029 740.562539.4453
Module start 'content' 0.01040.5256 780.0078593.3750
Module end 'content' 0.53610.0017 1,373.382812.1641
Script end 0.5378  1,385.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.7138160.0002
Check MTime0.00170.3080160.0001
Mysql Total
Database connection0.00120.219810.0012
Mysqli_queries0.475388.3779640.0074
Looping result0.00130.2491620.0000
Template Total0.488190.820.2441
Template load0.00240.442020.0012
Template processing0.485790.308420.2429
Template load and register function0.00010.019510.0001
states
state_id_array0.00180.326510.0018
state_identifier_array0.00110.199520.0005
Override
Cache load0.00200.3639230.0001
Sytem overhead
Fetch class attribute can translate value0.00090.173630.0003
Fetch class attribute name0.00160.292870.0002
XML
Image XML parsing0.00160.293630.0005
class_abstraction
Instantiating content class attribute0.00000.003180.0000
General
dbfile0.00110.2060270.0000
String conversion0.00000.001340.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs