Boosting class/attribute/datatype with ezFind

Author Message

Igor Vrdoljak

Wednesday 23 April 2008 9:44:19 am

Hi all

Is it possible to boost importance of specific class, attribute or whole datatype when returning search results.

This is possible with Lucene plugin extension ( http://ez.no/developer/contribs/applications/lucene_java_search_plugin ) and is very useful when developing custom search solutions.

Thanks in advance

http://www.netgen.hr/eng
http://twitter.com/ivrdoljak

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 15:10:55
Script start
Timing: Jan 18 2025 15:10:55
Module start 'layout'
Timing: Jan 18 2025 15:10:55
Module start 'content'
Timing: Jan 18 2025 15:10:56
Module end 'content'
Timing: Jan 18 2025 15:10:56
Script end

Main resources:

Total runtime0.5373 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.1875152.6563
Module start 'layout' 0.00730.0038 740.843839.4922
Module start 'content' 0.01110.5248 780.3359463.0000
Module end 'content' 0.53580.0014 1,243.33598.1172
Script end 0.5372  1,251.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.7631160.0003
Check MTime0.00150.2758160.0001
Mysql Total
Database connection0.00150.280310.0015
Mysqli_queries0.499392.9302480.0104
Looping result0.00040.0715460.0000
Template Total0.504193.820.2520
Template load0.00180.338720.0009
Template processing0.502293.480520.2511
Template load and register function0.00010.019210.0001
states
state_id_array0.00090.160810.0009
state_identifier_array0.00100.182420.0005
Override
Cache load0.00140.267680.0002
Sytem overhead
Fetch class attribute can translate value0.00050.101410.0005
Fetch class attribute name0.00060.112820.0003
XML
Image XML parsing0.00140.267910.0014
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00170.3251160.0001
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs