Solved

CFINDEX: diff between PATH and FILE type?

Posted on 2004-04-05
4
191 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

815 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

11 Experts available now in Live!

Get 1:1 Help Now