MACROMEDIA COLDFUSION 5-ADVANCED ADMINISTRATION Manual page 188

Table of Contents

Advertisement

170
Note
When specifying an URL, you must use full, absolute paths using the same format as
appears in the HTML hyperlink. If the link is relative, you must change it to absolute
to use it with -indexclude.
See Also -regexp.
-indinclude
Syntax:
Specifies that only those files and paths in URLs which match the expressions be
followed and indexed. If you use backslashes, you must double them so they are
properly escaped. For example:
C:\\test\\docs\\path
You can use wildcard expressions, where the asterisk ( * ) is for text strings and the
question mark ( ? ) is for single characters. For example:
'/my_doc*/year199?'
On Windows NT, you should include double quotes around the argument to protect
the special characters such as (*). On UNIX, you should use single quotes. Note that
this is only required when you run the indexing job from a command line. Quotes are
not necessary within a command file (-cmdfile).
To use regular expressions, also specify the -regexp option.
Where the -include option prevents Verity Spider from even following anything
which does not match the specified expressions, -indinclude allows Verity Spider to
follow anything while only indexing that which matches the specified expressions.
Example
If you want to index all documents that include "search" in the URL at http://
web.verity.com, you cannot use:
vspider -collection collname -start http://web.verity.com
This is because the starting point does not match the -include criteria. Instead, use
-indinclude to follow all documents (unless, of course, you have specified any of the
exclude options) and index only those documents that match your criteria. Simply
replace -include with -indinclude in the above example.
Note
When specifying an URL, you must use full, absolute paths using the same format as
appears in the HTML hyperlink. If the link is relative, you must change it to absolute
to use it with -indinclude.
See Also -regexp.
-indinclude exp_1 [exp_n] ...
-include '*search*'
Chapter 8 Verity Spider

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5-ADVANCED ADMINISTRATION and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 5

Table of Contents