Search Problem?? or does it work this way??

Author Message

Mark Gilbert

Tuesday 24 February 2004 9:04:51 pm

Hi

I am trying to do a search on my sight and when I enter some 3 and 4 character words that are in my articles, almost on every page, eZ comes back with an error message that it could not find that word. I have reindexed my site. I have checked the tables for errors. I have changed the ini setting - MaximumSearchLimit - it seems that this setting has no affect. I have tried a number of things and none of them have worked. But if I search on a less common word it finds it right away.

Version 3.3-3 (3.3)
SVN revision 5019
PHP 4.3.4

Hans Melis

Tuesday 24 February 2004 10:56:59 pm

Hi Mark,

It sounds to me like the word you're searching for is so common for a lot of objects that the search engine treats it as a stopword. Check [SearchSettings] in site.ini for the default values of the stopword settings and try playing with them to see if they have any effect on your search. Looking in the database to see how many objects contain your common words can help you with finding the right values.

hth

--
Hans

Hans
http://blog.hansmelis.be

Mark Gilbert

Wednesday 25 February 2004 9:03:31 am

Thanks for the info. It sounds like that should work. I could not find the settings you mentioned in my site.ini. So I searched the eZ site and found the following:

site.ini:
[SearchSettings]
#
StopWordThresholdValue=
StopWordThresholdPercent=

Is this what you were talking about??

Are thier any other search settings that would be useful??

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 09:55:33
Script start
Timing: Jan 19 2025 09:55:33
Module start 'layout'
Timing: Jan 19 2025 09:55:33
Module start 'content'
Timing: Jan 19 2025 09:55:33
Module end 'content'
Timing: Jan 19 2025 09:55:33
Script end

Main resources:

Total runtime0.0201 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.0079 589.2813152.6406
Module start 'layout' 0.00790.0031 741.921939.4766
Module start 'content' 0.01100.0067 781.398489.3672
Module end 'content' 0.01760.0024 870.765634.3047
Script end 0.0201  905.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002713.5123140.0002
Check MTime0.00126.0204140.0001
Mysql Total
Database connection0.00147.182210.0014
Mysqli_queries0.002813.748530.0009
Looping result0.00000.134110.0000
Template Total0.002010.010.0020
Template load0.00115.346310.0011
Template processing0.00094.673410.0009
Override
Cache load0.00073.518710.0007
General
dbfile0.00125.943280.0001
String conversion0.00000.043940.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.0002 secs