[Zope] Search feature with a combination of a textindex and keywordindex

Andreas Jung andreas at andreas-jung.com
Thu Sep 11 06:11:12 EDT 2003


TextINdexNG supports phrase searches.

-aj

--On Mittwoch, 10. September 2003 10:26 Uhr +0100 Richard Ettema 
<richard.ettema at yoursolutions.com> wrote:

> Hi,
>
> I have a need for the search feature described below. Any ideas on how
> best to approach this, or if it is possible would be great.
> Running...
> Zope: 2.6.1
> Python: 2.1.3
>
> A group of items are catalogued with keyphrases. These keyphrases can be
> any combination of single words or 2-3 word phrases.
> I want to pass a string to the catalog to see if there are any phrase
> matches. For example...
>
>  Item keyphrases: ['mobile phone', 'dial', 'hands free']
>
>  Catalog returns item if:
>   -string 'mobile phone number' is passed. (because 'mobile phone'
> matches)   -string 'speed dial call' is passed. (because 'dial' matches)
>
>  Catalog doesn't return item if:
>   -string 'ringing mobile number' is passed.
>   -string 'free phone'
>
> I haven't found anything with this kind of functionality so I assume I
> need to start looking into creating my own catalog index? I have begun
> looking into this, but any ideas on where to find more information or the
> best approach to take would be great.
>
> Thanks for your help.
>
> Richard.
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/03
>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )







More information about the Zope mailing list