eZ Community » Forums » Extensions » ezfind STOP words causing problems
expandshrink

ezfind STOP words causing problems

ezfind STOP words causing problems

Friday 04 May 2012 3:46:30 pm - 1 reply

Tested on ezfind 2.5 on ez 4.5 Enterprise

Before I put in a support ticket.. Simple scenario.

search for 'Happiness on the earth' using content/search = No results

search for 'Happiness the earth' = lots of results

search for 'Happiness earth' = lots of results

clearly the 'on' is breaking the search. Some research into this shows that 'on' and other terms are 'STOP WORDS' .. So this is a problem.

The string cannot be quoted becuase then legitamite quoted searches would not work (be to narrow).

I'm tempted to find a list of stop words and simply strip them from the search string just before the fetch.

This looks to be a gross oversight on ezfind functionality.

Please provide a recommendation to solve this.

Friday 04 May 2012 7:25:38 pm

1. what about removing "on" from the stopwords list?

2. not sure what you mean by "The string cannot be quoted because then legitimate quoted searches would not work (be to narrow).": can't you analyze the string, looking for stopwords, and if any are found quote it (unless it is already quoted)?

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu