Back to mnoGoSearch site


mnoGoSearch 3.3.12 reference manual: Full-featured search engine software
PrevNext

CheckOnly

Name

CheckOnly -- checks if a document exists

indexer.conf

Synopsis

CheckOnly [Match | NoMatch] [Case | NoCase] [String | Regex] {pattern...}

Description

The meaning of the first three optional parameters is exactly the same as in the Allow command.

It is possible to use multiple pattens in the same CheckOnly commands.

When processing documents with URL matching pattern, indexer uses the HTTP HEAD method (instead of the usual HTTP GET). It means that the document is checked only for existence, while the document content is not downloaded.

CheckOnly can be useful for a FTP search engine (searching through file names rather than file contents), for *.zip, *.exe, *.arj and other binary files, as well as in case of using indexer for link validation.

Scope

CheckOnly takes global effect for the entire configuration file and can be used multiple times.

Examples


CheckOnly *.b    *.sh   *.md5
CheckOnly *.arj  *.tar  *.zip  *.tgz  *.gz
CheckOnly *.lha  *.lzh  *.rar  *.zoo  *.tar*.Z
CheckOnly *.gif  *.jpg  *.jpeg *.bmp  *.tiff
CheckOnly *.vdo  *.mpeg *.mpe  *.mpg  *.avi  *.movie
      

See also

Allow, CheckMP3, CheckMP3Only, Disallow, HrefOnly, Skip, SkipIf.