Re: [Zope] Ignore stopwords/characters in alphabetical results

2006-02-07 Thread Ken Ara
Thanks Dieter and others for helping me understand this problem. In the end I added the following code to my product: def norm_title(self): Returns a normalized copy of the title for sorting purposes nt = '' if hasattr(self, 'title'): nt =

[Zope] Ignore stopwords/characters in alphabetical results

2006-02-02 Thread Ken Ara
Hi, 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

Re: [Zope] Ignore stopwords/characters in alphabetical results

2006-02-02 Thread Andreas Jung
--On 2. Februar 2006 00:41:38 -0800 Ken Ara [EMAIL PROTECTED] wrote: I did try to install TextIndexNG3, according to the instructions in the readme but was unable to restart Zope (no message was left in event.log). As documented: TXNG 3 does not work with pre-Zope 2.8 installation unless

Re: [Zope] Ignore stopwords/characters in alphabetical results

2006-02-02 Thread Jonathan
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

Re: [Zope] Ignore stopwords/characters in alphabetical results

2006-02-02 Thread Dieter Maurer
Ken Ara wrote at 2006-2-2 00:41 -0800: 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'. Thus, you only want the