[Zope] Search feature with a combination of a textindex and
keywordindex
Dieter Maurer
dieter at handshake.de
Wed Sep 10 23:57:41 EDT 2003
Richard Ettema wrote at 2003-9-10 10:26 +0100:
> ...
> 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.
This sounds like "phrase searches" supported by some text indexes.
They would match any phrase and not only those from
a phrase dictionary.
Dieter
More information about the Zope
mailing list