Have you thought about breaking the mini-sites down into individual verity
collections? I did this to help with a search I'm working on here. Since
CFSearch allows a comma separated list of collections to be searched at
once, what I did was to provide a series of checkboxes with the collection
names as the values, and made the form fields all the same name... something
like
<form action="search" method="post">
Search For: <input type="text" name="cCriteria"><br><br>
Search In:<br>
- <input name="cSearchList" value="vc_Tasks" checked>Tasks<br>
- <input name="cSearchList" value="vc_Projects" checked>Projects<br>
- <input name="cSearchList" value="vc_Companies" checked>Companies<br>
- <input name="cSearchList" value="vc_Users" checked>Users<br>
<input type="submit" value="Search">
</form>
and on the action page:
<cfif isDefined("form.cSearchList")>
<cfsearch collection="asf" name="qResults" type="SIMPLE"
criteria="#lcase(form.cCriteria)#">
</cfif>
That way you can test it and select only one query at a time... then when
you go live, change the check boxes to a hidden form field with a list, or
offer them an Advanced Search option.
C. Hatton Humphrey, Developer
Fisher, Towne & Associates
716-839-2141 x336
[EMAIL PROTECTED]
> -----Original Message-----
> From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 11, 2002 10:26 AM
> To: CF-Community
> Subject: RE: Grrr... Damn CF4.5 Verity
>
>
> > <cf_smartass>
> > Tell the client to stop trying to return everything in the collection
> > </cf_smartass>
>
> It's me for testing, not them, otherwise I would...
>
> > In all seriousness, searching for * in a verity collection is
> > about like
> > looking for *.* on your hard drive, everything matches. CF
> > restricts the
> > amount of results from a verity collection to 64k... you need
> > to put some
> > error checking around your <cfsearch> tag and massage the search.
>
> I know, but I need to check the verity to make sure it's 100%... Damn
> them for having so many mini-sites!
>
> > Good luck, Verity's a bear!
>
> Don't I know it!
>
> Philip Arnold
> Technical Director
> Certified ColdFusion Developer
> ASP Multimedia Limited
> T: +44 (0)20 8680 1133
> F: +44 (0)20 8686 7911
>
> An ISO9001 registered company.
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
>
>
> > -----Original Message-----
> > From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED]]
> > Sent: 11 January 2002 15:07
> > To: CF-Community
> > Subject: RE: Grrr... Damn CF4.5 Verity
> >
> >
> >
> > C. Hatton Humphrey, Developer
> > Fisher, Towne & Associates
> > 716-839-2141 x336
> > [EMAIL PROTECTED]
> >
> >
> > > -----Original Message-----
> > > From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, January 11, 2002 9:54 AM
> > > To: CF-Community
> > > Subject: Grrr... Damn CF4.5 Verity
> > >
> > >
> > > We've got a customer who refuses to pay for the upgrade to CF5 (even
> > > though they can get the educational discount) for 2
> > servers... Anyways,
> > > the moan about this is that I'm trying to build one HAUGE
> > Verity on it
> > > (covering about 200 mini-sites) which has 9,800 pages...
> > The problem is
> > > that if you search for "*", it returns "Criteria is not
> > specific enough.
> > > Result set exceeded maximum size (64K)."
> > >
> > > Does anybody know a simple (and quick) way to get around
> > this nightmare
> > > I'm having?
> > >
> > > Philip Arnold
> > > Technical Director
> > > Certified ColdFusion Developer
> > > ASP Multimedia Limited
> > > T: +44 (0)20 8680 1133
> > > F: +44 (0)20 8686 7911
> > >
> > > An ISO9001 registered company.
> > >
> > >
> > **********************************************************************
> > > This email and any files transmitted with it are confidential and
> > > intended solely for the use of the individual or entity to whom they
> > > are addressed. If you have received this email in error
> > please notify
> > > the system manager.
> > >
> > **********************************************************************
> > >
> > >
> > >
> >
>
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists