[Zope] Ignore stopwords/characters in alphabetical results

Jonathan dev101 at magma.ca
Thu Feb 2 08:11:48 EST 2006


> I have been asked to improve the order of search
> results, so that stop words and certain characters at
> the beginning of a title are ignored. "Final Report",
> "The Final Report" and "[Final] Report" all need to
> appear under the letter 'F'.
>
> We are running Zope 2.7.8-final with python 2.3.5,
> under FreeBSD6. Until I was hit with this request, the
> default ZCatalog and  ZCTextIndexes have given good
> results.

ZCTextIndex has a list of stop words that you could probably modify.  This 
should get you pointed in the right direction:

http://www.zope.org/Members/dedalu/ZCTextIndex_python


hth

Jonathan 



More information about the Zope mailing list