Forums / Developer / EZFind help

EZFind help

Author Message

Koutouan Emmanuel

Tuesday 30 December 2008 5:45:49 am

I,
I've installed ezfind.
I can index and search.
But I have some questions (I read the whole doc but it's only 11 pages and I could not find answers):
- when start.jar is started and somebody edits some contents , it's very slow to validate the form.
The processus java takes 100% of CPU.
Is there a way to desactivate the reindex on updating content ?
- Can I filter on multiples classes ? (not only one) how ?
- Can I filter on a subtree of a node_id ? How ?

Thanks.

Heath

Wednesday 31 December 2008 10:41:59 pm

Hello Koutouan,

You can enable DelayedIndexing setting,
<i>http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/searchsettings/delayedindexing
http://ez.no/doc/ez_publish/technical_manual/4_0/features/cronjobs/the_cronjob_scripts#indexcontent</i>

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

kracker (the)

Wednesday 31 December 2008 11:00:48 pm

I would suggest using the "Advanced search" which provides all kinds of features for custom searching. It should be able to filter as needed and if it does not do so out of the box it is fairly simple to extend to meet your custom search needs.

<i>http://ez.no/doc/ez_publish/technical_manual/4_0/features/search_engine#eztoc86049_1</i>

Cheers,
<i>//kracker

soleandtheskyriderbandremixlp : 100 light years and running(son lux remix)</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Christophe Saint-Pierre

Thursday 01 January 2009 4:07:13 am

Hi , for the Tree level filtering that I couldn't find an example in
http://ez.no/doc/ez_publish/technical_manual/4_0/features/search_engine#eztoc86049_1
I think you can use
<input type="hidden" id="searcharea" name="SubTreeArray[]" value="99" />

I looked the source of the ez.no site to find the name of the input type to use.

Although , I have another question :
In some of my content I have characters written in html , for example v&eacute;lo for vélo.
And when i search vélo it do not find it but if i search v&eacute;lo it find it !
Is somebody know if there a config for solr to index the converted chararcter ?

Thanks !

eZ debug

Timing: Jan 18 2025 04:30:56
Script start
Timing: Jan 18 2025 04:30:56
Module start 'content'
Timing: Jan 18 2025 04:30:57
Module end 'content'
Timing: Jan 18 2025 04:30:57
Script end

Main resources:

Total runtime0.9520 sec
Peak memory usage4,096.0000 KB
Database Queries201

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.5391180.8516
Module start 'content' 0.00540.7801 768.3906635.9531
Module end 'content' 0.78550.1665 1,404.3438337.3984
Script end 0.9519  1,741.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4213210.0002
Check MTime0.00150.1560210.0001
Mysql Total
Database connection0.00060.060110.0006
Mysqli_queries0.855689.87302010.0043
Looping result0.00210.22541990.0000
Template Total0.926397.320.4632
Template load0.00220.226920.0011
Template processing0.924197.073220.4621
Template load and register function0.00020.020110.0002
states
state_id_array0.00080.084610.0008
state_identifier_array0.00080.081520.0004
Override
Cache load0.00210.2213390.0001
Sytem overhead
Fetch class attribute can translate value0.00130.139550.0003
Fetch class attribute name0.00130.131860.0002
XML
Image XML parsing0.00210.215750.0004
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00270.2789360.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs