Rv: Re: Rv: Re: [Zope] why a xcatalog keywordindex is mandatory?
--------- Messaggio Originale -------- Da: Dieter Maurer <dieter@handshake.de> Per: Yurj <yurj@alfa.it> Cc: zope@zope.org Oggetto: Re: Rv: Re: [Zope] why a xcatalog keywordindex is mandatory? Data: 07/12/03 17:44
Yurj wrote at 2003-12-7 12:37 -0100: > ... >I've solved it in /PluginIndexes/common/util.py. When the param is a
record,
>around line 95, I've added: > >if keys == ['']: keys = None > >Is it correct? Seems to work with all indexes I've and KeywordIndexes, which >works also with AND as operator.
>From a semantic point of view, it is wrong: it lets an empty "OR" search return everything.
Maybe, you are not interested in such issues...
Empty for me means that it is not interesting to use that index for search (ex: put nothing on that field). Is useful to have a search interface that return nothing? :) I know keywordindex has problem, I've found few example in the web :) ________________________________________________ Message sent using ALFANET Caorle WEBMAIL 1.0
participants (1)
-
Yurj