default ezsearch with attribute filter, can't use ezfind for shared hosting ,

Author Message

Romeo Antony

Sunday 26 June 2011 2:47:53 am

Hi all,

            I am using shared hosting plan to host ezpublish site. My hosting provider do not support to run java for ezfind . So I can't use ezfind for search(if I could have use ezfind, attribute filtering is possible using filter parameters from search template).

So only solution for me now is to customize  search fetch function by passing a new attribute filter parameter.

But it needs a lot of work as I need to customize ezsearchengine where the I need to change function search( ) which is a heavy work.

Any easy work around to implement attribute filtering with ezsearch. or is there any extensions that full fill my needs?

 

Any ideas or suggestions will be great help

 

Regards

Romeo..

 

 

I have got the solution. Instead of using default search , I have created a custom search by adding a new module with custom view for searches .

searches are done by a custom search fetch function with parameters like attribute filter etc, . Used this custom search fetch function from view's php file . Hope this may help someone else who can't use ezfind in shared hosting environments..

Regards

Romeo

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 02:14:08
Script start
Timing: Jan 18 2025 02:14:08
Module start 'layout'
Timing: Jan 18 2025 02:14:08
Module start 'content'
Timing: Jan 18 2025 02:14:09
Module end 'content'
Timing: Jan 18 2025 02:14:09
Script end

Main resources:

Total runtime0.8392 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 590.5703152.6875
Module start 'layout' 0.00510.0040 743.257839.5313
Module start 'content' 0.00910.8284 782.7891438.8594
Module end 'content' 0.83750.0017 1,221.64848.0625
Script end 0.8392  1,229.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3966160.0002
Check MTime0.00140.1671160.0001
Mysql Total
Database connection0.00070.082110.0007
Mysqli_queries0.795094.7348460.0173
Looping result0.00040.0495440.0000
Template Total0.804595.920.4023
Template load0.00210.251520.0011
Template processing0.802495.617420.4012
Template load and register function0.00010.012310.0001
states
state_id_array0.00120.144410.0012
state_identifier_array0.00090.112720.0005
Override
Cache load0.00170.2059200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.070910.0006
Fetch class attribute name0.00090.105620.0004
XML
Image XML parsing0.00040.049410.0004
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00140.1719160.0001
String conversion0.00000.003340.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