Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CFINDEX: diff between PATH and FILE type?

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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
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 …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

719 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