Search problem with "excluded" words?

Author Message

Friday 02 April 2010 3:50:40 pm

Hello, I don't post often but a customer is having a problem with their ezpublish search. ie, "/content/search?SearchPageLimit=5&SearchText=omega"

The problem is most strange, and recently when customers use say default ezwebin siteaccess search form they no longer get results (because of excluded words but i cannot find a way to avoid customers from getting seemingly almost any word is excluded no mater how one searches).

Instead they are presented with the following phrase. "The following words were excluded from the search:: omega" "No results were found when searching for "omega"."

Customer: "one thing i notice, is when the search comes back, it says the word I am searching is excluded".

My customer does have large number of binary pdf files and article content objects. It seems that the more content we put into eZ Publish the more the default search stopped working and started "excluding" any word searched.

Q: How might one be able to prevent ezpublish from "excluding words" during my search query. My customer needs results more than excluding my uncommon phrases.

Nicolas Pastorino

Tuesday 06 April 2010 2:28:31 am

Hi <unnamed> :)

Is this website using eZ Find ?

Also, have you made any customisation to your search-related settings/templates/code ?

Let us know,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Tuesday 06 April 2010 8:47:35 pm

Hello Nicolas,

The website is not using ezfind.
It runs on a small dedicated server.
I think ezfind is a bit out of this customers ballpark.

 

The website runs stock eZpublish 4.2
I have enabled binary search indexing
of pdf content object files. But no kernel
related modifications.

I found deleting the contents of ezsearch tables
and reindexing the site fixed the problem in the short term.
Still it would be much better if this negative feature was better documented.

Paul Borgermans

Wednesday 07 April 2010 7:52:16 am

Can you try setting a large value in site.ini.append.php for:

[SearchSettings]
StopWordThresholdValue=1000000

If a user types in lots of keywords, searches may be slow though

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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

Main resources:

Total runtime0.8254 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9219152.6250
Module start 'layout' 0.00650.0029 740.546939.4453
Module start 'content' 0.00940.8146 779.9922604.1953
Module end 'content' 0.82400.0014 1,384.187512.1563
Script end 0.8254  1,396.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4265160.0002
Check MTime0.00160.1931160.0001
Mysql Total
Database connection0.00130.156510.0013
Mysqli_queries0.656279.5023620.0106
Looping result0.00080.0951600.0000
Template Total0.692983.920.3464
Template load0.00270.328220.0014
Template processing0.690183.609720.3451
Template load and register function0.00020.021310.0002
states
state_id_array0.00090.109210.0009
state_identifier_array0.00110.137720.0006
Override
Cache load0.00220.2714380.0001
Sytem overhead
Fetch class attribute can translate value0.00070.080230.0002
Fetch class attribute name0.00240.288170.0003
XML
Image XML parsing0.00310.370230.0010
class_abstraction
Instantiating content class attribute0.00000.002080.0000
General
dbfile0.00250.2985290.0001
String conversion0.00000.001040.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs