Several questions about search engine

Author Message

Nabil Alimi

Wednesday 19 April 2006 8:55:29 am

Hi,

I have some questions regarding the ezsearchengine.

1) At this time, the search engine works with the "AND" statement.

By taking a look at the ezsearchengine.php file, I've noticed a doOrSearch variable that is set to "false". Guess what. Setting it to true doesn't change a thing. :)

So is it possible to enable it in some way ?

(Yes it's true that there's a comment saying that only the "AND" statement is supported so far.)

2) I have an override on an ezselection datatype.
The result is a select box filled dynamacally with content from my site with multiple selection available. The node_id is used as the value and the name is displayed in the box. Up to this point, it works perfectly. But the problem is that this datatype is not indexed. (The option list of my datatype is actually empty as it is not filled via the normal admin interface)
Is there a way to achieve this and having this datatype indexed ? For example, with a job updating the options list ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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

Main resources:

Total runtime0.0196 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.0069 589.2578152.6250
Module start 'layout' 0.00690.0033 741.882839.4453
Module start 'content' 0.01010.0072 781.328189.3359
Module end 'content' 0.01730.0022 870.664130.3047
Script end 0.0195  900.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003015.3927140.0002
Check MTime0.00126.3176140.0001
Mysql Total
Database connection0.00115.808510.0011
Mysqli_queries0.002713.562130.0009
Looping result0.00000.076710.0000
Template Total0.00189.110.0018
Template load0.00094.828010.0009
Template processing0.00084.266510.0008
Override
Cache load0.00073.422510.0007
General
dbfile0.00189.031280.0002
String conversion0.00000.040240.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