Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / September 2006



Tip: Looking for answers? Try searching our database.

Basic Verity search fails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
yoman - 29 Sep 2006 21:52 GMT
I'm totally new to Verity so this may be obvious, but I'm getting zero results.
A collection shows up in the CF Administrator. When CFIndex runs, there are no
error messages. CFSearch returns squat.

The goal is to search PDFs, but I added a *.cfm file and a *.doc file with the
criteria word to the directory in question just to see if the would show up.

One oddity: When I try to index using the CFAdministrator, the values for the
listed collection -- types of files, path, return URL -- are always back the
default setting (the path is blank) and the collection is not mapped.

<!--- The collection has been verified --->
<cflock name="verity" timeout="60">
    <cfcollection action="list" name="qHansenTest" >
</cflock>

<!--- There three types of documents in the  --->

<cfindex
    collection = "HansenTest"
    action = "update"
    type = "path"
    key = "C:\CFusionMX\wwwroot\HansenReport\pdfs"
    URLpath = "http://localhost:8500/HansenReport/pdfs/"
    extensions = "*.pdf,*.cfm, *.doc">   
   
<cfsearch
    collection = "HansenTest"
    name = "s_HansenTest"
    criteria = "automotive"
    type="simple">

   
<cfoutput query="s_Hansentest">
#KEY#
</cfoutput>
jdeline - 30 Sep 2006 22:47 GMT
Try removing the * from the extensions.  Just use .pdf,.cfm,.doc
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.