6 Aug
2004
6 Aug
'04
12:12 p.m.
--On Freitag, 6. August 2004 11:58 Uhr +0000 jens.walte@kk.net wrote:
Hello, i search for a possibility to query a catalog like this:
catalog({'meta_type':myobjecttype, [x for x in 'keyword-index' if x.find(mysubstring) != -1]})
Description: there is a metadata (keyword index) for urls in my catalog and i have to know the catalogentries with a matching substring in this keyword-index
KW indexes can not be search for substrings. You want to use a text index. But none of the existing text indexes provides a general substring search for performance reasons. The only choice is a post-query filter. -aj