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> </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 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 Criteria=3D"" in the search tag it =
gives me=20
all the 8 records. For example:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><CFSEARCH=20
COLLECTION=3D"test" <BR> &n=
bsp; =20
NAME=3D"GetItems" =
<BR> =20
CRITERIA=3D"Form.criteria"></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Will return 0 record.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>but
<DIV><FONT face=3DArial size=3D2><CFSEARCH=20
COLLECTION=3D"test" <BR> &n=
bsp; =20
NAME=3D"GetItems" =
<BR> =20
CRITERIA=3D""></FONT></DIV>
<DIV> </DIV>
<DIV>will return all the 8 records.</DIV>
<DIV> </DIV>
<DIV>Could anybody tell me why the criteria does not work? Thanks in=20
advance.</DIV></FONT></DIV>
<DIV> </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.