[Zope-dev] help me ZCatalog - searchResults

sergey2b sergey2b@mail.ru
Tue, 26 Oct 1999 10:27:21 +0400


This is a multi-part message in MIME format.

------=_NextPart_000_0010_01BF1F9C.B012BB00
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

Dear All.
Your help in the decision of one problem is necessary to me.
What types of inquiries supports searchResults?
I know only variant searchResults (name of a field =3D a required word)
If look at
def searchResults (self, REQUEST=3DNone, used=3DNone,
    query_map =3D {type (regex.compile (")): Query. Regex,
               type ([]): orify,
               type ("": Query. String,
             }, ** kw):
There are inquiries type (regex.compile (")): Query. Regex and type =
([]):
orify.
If probably, give me an example how to use these types of inquiries.
Whether a way of search ' tes * ' where * any symbol. If it is possible =
-
how can I do it?.
How to use inquiry type (regex.compile (")): Query. Regex from dtml?

Please, give me an example, what type inquiries supports searchResults
And what type of inquiries with use regex can I set=20

Thank to you in advance, Sergay.


------=_NextPart_000_0010_01BF1F9C.B012BB00
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Dkoi8-r http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Dear All.<BR>Your help =
in the=20
decision of one problem is necessary to me.<BR>What types of inquiries =
supports=20
searchResults?<BR>I know only variant searchResults (name of a field =3D =
a=20
required word)<BR>If look at<BR>def searchResults (self, REQUEST=3DNone, =

used=3DNone,<BR>&nbsp;&nbsp;&nbsp; query_map =3D {type (regex.compile =
(&quot;)):=20
Query.=20
Regex,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
type ([]):=20
orify,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
type (&quot;&quot;: Query.=20
String,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
}, ** kw):<BR>There are inquiries type (regex.compile (&quot;)): Query. =
Regex=20
and type ([]):<BR>orify.<BR>If probably, give me an example how to use =
these=20
types of inquiries.<BR>Whether a way of search ' tes * ' where * any =
symbol. If=20
it is possible -<BR>how can I do it?.<BR>How to use inquiry type =
(regex.compile=20
(&quot;)): Query. Regex from dtml?</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Please, give me an =
example, what type=20
inquiries supports searchResults<BR>And what type of inquiries with use =
regex=20
can I set </FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Thank to you in =
advance,=20
Sergay.<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0010_01BF1F9C.B012BB00--