[Zope] Problem : ZCatalog

Fabien Germain fabien.germain@freesbee.fr
Fri, 26 Jan 2001 08:22:54 +0100


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_0066_01C08771.2E650340
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I've got a problem with a search form.

I have a ZCatalog with lots of entries. I added the index "absolute_url" =
in
order to search by the files url.

Why ?
'cause I have files in organized folders like that :
......../language_name/country_name/city_name/element

I'd like to do a search on "#language_name and #country_name and =
#city_name"
in my catalog, so I use the absolute_url.
But the problem is that the search only looks the end of the =
absolute_url
string, that's to say "element" in my exemple.

How could I search in all the string ?

Sorry for my bad english.

Fabien.


------=_NextPart_000_0066_01C08771.2E650340
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
size=3D3>Hello,<BR><BR>I've got a problem with a search form.<BR><BR>I =
have a=20
ZCatalog with lots of entries. I added the index "absolute_url" =
in<BR>order to=20
search by the files url.<BR><BR>Why ?<BR>'cause I have files in =
organized=20
folders like that=20
:<BR>......../language_name/country_name/city_name/element<BR><BR>I'd =
like to do=20
a search on "#language_name and #country_name and #city_name"<BR>in my =
catalog,=20
so I use the absolute_url.<BR>But the problem is that the search only =
looks the=20
end of the absolute_url<BR>string, that's to say "element" in my=20
exemple.<BR><BR>How could I search in all the string =
?<BR><BR></FONT><FONT=20
face=3D"Times New Roman" size=3D3>Sorry for my bad =
english.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
size=3D3><BR>Fabien.</FONT><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0066_01C08771.2E650340--