Solved

CFINDEX: diff between PATH and FILE type?

Posted on 2004-04-05
4
201 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

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…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

623 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