Boost result based on node ids or objects ids

Author Message

Julian Mancera

Tuesday 28 July 2009 9:06:41 am

Hi all,

I can't find a way to boots the search result based on node id or object ids for my site. I have developed a per node statics based on the number of user page views, that is, if the url mypage.com/blog has been viewed many times the search result should show this results in first place.

So I have a bunch of popular node ids stored on a table and I need to boost them in my ezfind results. I have check the ezfind.ini and the boosting functions are related with class ids and attribute ids but it does not show an option to include a special configuration for node ids, does ezfind support this kind of boosting?

Thanks a lot for your time

Julian Mancera

Ivo Lukac

Saturday 01 August 2009 1:14:52 am

Hi Julian,

You can maybe use elevate list (java/solr/conf/elevate.xml). It should return elevated docs first when searching.
Just an idea, never done that.

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

Main resources:

Total runtime0.0797 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0112 588.4063151.2422
Module start 'layout' 0.01120.0121 739.6484220.7344
Module start 'content' 0.02330.0524 960.3828998.8984
Module end 'content' 0.07580.0039 1,959.281329.9922
Script end 0.0796  1,989.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.009411.8017140.0007
Check MTime0.00344.2708140.0002
Mysql Total
Database connection0.00172.090910.0017
Mysqli_queries0.00445.495030.0015
Looping result0.00000.017710.0000
Template Total0.00303.710.0030
Template load0.00151.869210.0015
Template processing0.00151.832710.0015
Override
Cache load0.00111.390710.0011
General
dbfile0.00425.210780.0005
String conversion0.00000.013840.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.0004 secs