<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >CheckOnly</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="mnoGoSearch 3.3.9 reference manual" HREF="index.html"><LINK REL="UP" TITLE="mnoGoSearch command reference" HREF="msearch-cmdref.html"><LINK REL="PREVIOUS" TITLE="CheckMP3Only" HREF="msearch-cmdref-checkmp3only.html"><LINK REL="NEXT" TITLE="CollectLinks" HREF="msearch-cmdref-collectlinks.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="mnogo.css"><META NAME="Description" CONTENT="mnoGoSearch - Full Featured Web site Open Source Search Engine Software over the Internet and Intranet Web Sites Based on SQL Database. It is a Free search software covered by GNU license."><META NAME="Keywords" CONTENT="shareware, freeware, download, internet, unix, utilities, search engine, text retrieval, knowledge retrieval, text search, information retrieval, database search, mining, intranet, webserver, index, spider, filesearch, meta, free, open source, full-text, udmsearch, website, find, opensource, search, searching, software, udmsearch, engine, indexing, system, web, ftp, http, cgi, php, SQL, MySQL, database, php3, FreeBSD, Linux, Unix, mnoGoSearch, MacOS X, Mac OS X, Windows, 2000, NT, 95, 98, GNU, GPL, url, grabbing"></HEAD ><BODY CLASS="refentry" BGCOLOR="#EEEEEE" TEXT="#000000" LINK="#000080" VLINK="#800080" ALINK="#FF0000" ><!--#include virtual="body-before.html"--><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" ><SPAN CLASS="application" >mnoGoSearch</SPAN > 3.3.9 reference manual: Full-featured search engine software</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="msearch-cmdref-checkmp3only.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="msearch-cmdref-collectlinks.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="cmdref-checkonly" ></A >CheckOnly</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN7883" ></A ><H2 >Name</H2 ><B CLASS="command" >CheckOnly</B > -- checks if a document exists<P ><B ></B ><TT CLASS="filename" >indexer.conf</TT ></P ></DIV ><DIV CLASS="refsynopsisdiv" ><A NAME="AEN7889" ></A ><H2 >Synopsis</H2 ><P ><B CLASS="command" >CheckOnly</B > [Match | NoMatch] [Case | NoCase] [String | Regex] {pattern...}</P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN7902" ></A ><H2 >Description</H2 ><P >The meaning of the first three optional parameters is exactly the same as in the <A HREF="msearch-cmdref-allow.html" >Allow</A > command. </P ><P >It is possible to use multiple pattens in the same <B CLASS="command" >CheckOnly</B > commands. </P ><P >When processing documents with <ACRONYM CLASS="acronym" >URL</ACRONYM > matching <CODE CLASS="varname" >pattern</CODE >, <SPAN CLASS="application" >indexer</SPAN > uses the <ACRONYM CLASS="acronym" >HTTP HEAD</ACRONYM > method (instead of the usual <ACRONYM CLASS="acronym" >HTTP GET</ACRONYM >). It means that the document is checked only for existence, while the document content is not downloaded. </P ><P > <B CLASS="command" >CheckOnly</B > can be useful for a <ACRONYM CLASS="acronym" >FTP</ACRONYM > search engine (searching through file names rather than file contents), for <TT CLASS="filename" >*.zip</TT >, <TT CLASS="filename" >*.exe</TT >, <TT CLASS="filename" >*.arj</TT > and other binary files, as well as in case of using <SPAN CLASS="application" >indexer</SPAN > for <A HREF="msearch-indexing.html#general-linkval" >link validation</A >. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN7922" ></A ><H2 >Scope</H2 ><P > <B CLASS="command" >CheckOnly</B > takes global effect for the entire configuration file and can be used multiple times. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN7926" ></A ><H2 >Examples</H2 ><DIV CLASS="informalexample" ><P ></P ><A NAME="AEN7928" ></A ><PRE CLASS="programlisting" > 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 </PRE ><P ></P ></DIV ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN7930" ></A ><H2 >See also</H2 ><P > <A HREF="msearch-cmdref-allow.html" >Allow</A >, <A HREF="msearch-cmdref-checkmp3.html" >CheckMP3</A >, <A HREF="msearch-cmdref-checkmp3only.html" >CheckMP3Only</A >, <A HREF="msearch-cmdref-disallow.html" >Disallow</A >, <A HREF="msearch-cmdref-hrefonly.html" >HrefOnly</A >, <A HREF="msearch-cmdref-skip.html" >Skip</A >, <A HREF="msearch-cmdref-skipif.html" >SkipIf</A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="msearch-cmdref-checkmp3only.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="msearch-cmdref-collectlinks.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >CheckMP3Only</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="msearch-cmdref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >CollectLinks</TD ></TR ></TABLE ></DIV ><!--#include virtual="body-after.html"--></BODY ></HTML >