Solved

CFINDEX: diff between PATH and FILE type?

Posted on 2004-04-05
4
190 Views
Last Modified: 2013-12-24
I'm building a site search using CFSEARCH on Verity collections. Nightly an automated process will run a page which uses CFINDEX to make sure the catalogs are current. Really, the search is handling three things:

1)A search of dynamic content kept in database tables -- this collection is created and indexed and works as expected.
2)A search of a catalog which contains Web site documents -- .cfm, .html, .asp, etc.
3)A search of a catalog which contains documents living on our Web server -- .doc, .ppt, .pdf, etc.

What TYPE should I make the CFINDEX for 2 & 3 -- should they be PATH or FILE? I can't quite identify what the difference is, despite looking in the CFMX docs and my CF WACK.

Amy
0
Comment
Question by:lavachickie
  • 2
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 125 total points
ID: 10758091
You should use PATH
0
 

Author Comment

by:lavachickie
ID: 10758179
What's the difference between the PATH and FILE types?
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10759697
File -- Indexes files.
Path -- Indexes all files in specified path that pass EXTENSIONS filter.

If you don't specify an extentions filter then they should act the same.  Therefore it would be better to use PATH and not FILE
0
 

Author Comment

by:lavachickie
ID: 10765178
Ah, thanks! I was wondering, because in testing they seemed to work the same and I was wondering if I was missing something. Now I get it!  =-)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
website does not load without www 12 70
Two nodes for updates and forwarding 8 51
Configure a Local PHP Interpreter for Phpstorm 2 184
cookies analysis tools 2 69
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now