Thank you for such a quick response. But I tried everything like the
following and it doesn't work:

CFSEARCH COLLECTION="test"
           NAME="GetItems"
           CRITERIA="#Form.criteria#">

or
   <CFSEARCH COLLECTION="test"
       NAME="GetItems"
    CRITERIA=Form.criteria>
or

<CFSEARCH COLLECTION="test"
          NAME="GetItems"
           CRITERIA="Form.criteria">
They all return "0" record.

Sima




----- Original Message -----
From: Eron Cohen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 26, 2000 3:30 PM
Subject: RE: verity search problem


> One thing that could be wrong: I believe you actually NEED # signs for
your
> Criteria= statement...
> What happens if you use:
>
> <CFSEARCH COLLECTION="test"
>           NAME="GetItems"
>           CRITERIA="#Form.criteria#">
>
> HTH,
>
> Eron
>
> -----Original Message-----
> From: Sima Lee [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 26, 2000 4:10 PM
> To: [EMAIL PROTECTED]
> Subject: verity search problem
>
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0041_01BFC724.71016490
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi All,
>
> I am new to ColdFusion and try to use verity search . This is the =
> problem I got:
> I created a collection and indexed it . It says there is 8 records in it =
> , which is true. But when I use the cfsearch tag to search , it always =
> gives me zero records no matter what I type in as a criteria. But if I =
> change   Criteria=3D"" in the search tag it gives me all the 8 records. =
> For example:
>
> <CFSEARCH COLLECTION=3D"test"=20
>           NAME=3D"GetItems"=20
>           CRITERIA=3D"Form.criteria">
> Will return 0 record.
>
> but
> <CFSEARCH COLLECTION=3D"test"=20
>           NAME=3D"GetItems"=20
>           CRITERIA=3D"">
>
> will return all the 8 records.
>
> Could anybody tell me why the criteria does not work? Thanks in advance.
>
>
> ------=_NextPart_000_0041_01BFC724.71016490
> 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 content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>I am new to ColdFusion and try to use =
> verity search=20
> . This is the problem I got:</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>I created a collection and indexed it . =
> It says=20
> there&nbsp;is 8 records in it , which is true. But when I use the =
> cfsearch tag=20
> to search , it always gives me zero records no matter what I type in as =
> a=20
> criteria. But if I change&nbsp;&nbsp; Criteria=3D"" in the search tag it =
> gives me=20
> all the 8 records. For example:</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>&lt;CFSEARCH=20
> COLLECTION=3D"test"&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
> bsp;&nbsp;=20
> NAME=3D"GetItems" =
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> CRITERIA=3D"Form.criteria"&gt;</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Will return 0 record.</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>but
> <DIV><FONT face=3DArial size=3D2>&lt;CFSEARCH=20
> COLLECTION=3D"test"&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
> bsp;&nbsp;=20
> NAME=3D"GetItems" =
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> CRITERIA=3D""&gt;</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV>will return all the 8 records.</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>Could anybody tell me why the criteria does not work? Thanks in=20
> advance.</DIV></FONT></DIV>
> <DIV>&nbsp;</DIV></BODY></HTML>
>
> ------=_NextPart_000_0041_01BFC724.71016490--
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to