Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CFINDEX: diff between PATH and FILE type?

Posted on 2004-04-05
4
Medium Priority
?
206 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 500 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

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 …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses

971 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