Forums / General / Search problem with "excluded" words?

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