ezFind attribute boosting

Author Message

Lars Eirik R

Tuesday 12 October 2010 5:00:57 am

Hi.

I need to boost my keyword attribute so that it will receive a higher score than any cases where the queried term is in the title or in the body text.

Is there any easy config which will help me with this?

I have tried setting the attribute boost in ezfind.ini for myparticular field and this works, but it never gets a higher score than any documents which have the queried term in the title for instance.

Also what is the normal way of setting boost factors for an attribute. I assume that they are only relative to the other attributes?

Ivo Lukac

Tuesday 12 October 2010 5:49:36 am

Hi,

Did you reindex the data after you changed the boost?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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

Main resources:

Total runtime0.0119 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.0041 588.1328151.2109
Module start 'layout' 0.00410.0018 739.343836.6563
Module start 'content' 0.00590.0047 776.000090.0625
Module end 'content' 0.01060.0012 866.062529.9766
Script end 0.0119  896.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.3159140.0001
Check MTime0.00108.0508140.0001
Mysql Total
Database connection0.00065.109410.0006
Mysqli_queries0.001915.596730.0006
Looping result0.00000.058110.0000
Template Total0.00097.710.0009
Template load0.00075.580310.0007
Template processing0.00032.117910.0003
Override
Cache load0.00053.933210.0005
General
dbfile0.00119.513580.0001
String conversion0.00000.044140.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