[Zope] Search in ZCatalog
Antonio Joćo Costa
anjc@fct.unl.pt
Thu, 29 Mar 2001 17:33:50 +0100
This is a multi-part message in MIME format.
--------------BDAA0EAA106BF2076CD1A1B7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello again.
I'm having some trouble using the searchResults(...) method from
ZCatalog.
1) If I want to find NewsItem and search for News ZCatalog doesn't find
it. I must explicitly find for NewsItem for Zope to find it.
Is there any way to use wildcards?
2) I don't know how to distinguish between AND and OR searches. If I
introduce the search items in a list, Zope performs an OR search.
Thanks,
Antonio Costa
--
URL: http://www.terravista.pt/Enseada/1831
http://accosta.planetaclix.pt
http://students.fct.unl.pt/~anjc
PT is Portugal
#######
# # #
#" #" #
Linux ##vvvvv##
Rules! ## vvv ##
# ##
## ##
### ###
+++##### ##++
++++++# #++++++
+++++++# #+++++++
+++++#######+++++
+++ +++
"Perfection is achieved,
not when there's nothing else to add,
but when there's nothing else to take away."
--------------BDAA0EAA106BF2076CD1A1B7
Content-Type: text/x-vcard; charset=us-ascii;
name="anjc.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Antonio Joćo Costa
Content-Disposition: attachment;
filename="anjc.vcf"
begin:vcard
n:Costa;Antonio
tel;cell:+351933302511
x-mozilla-html:FALSE
url:http://www.terravista.pt/Enseada/1831
org:Faculdade de Ciencias e Tecnologia;SI
adr:;;;;;;
version:2.1
email;internet:anjc@fct.unl.pt
x-mozilla-cpt:;0
fn:Antonio Costa
end:vcard
--------------BDAA0EAA106BF2076CD1A1B7--