<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Recoll howtos</title>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta name="Author" content="Jean-Francois Dockes">
<meta name="Description" content=
"recoll is a simple full-text search system for unix and linux
based on the powerful and mature xapian engine">
<meta name="Keywords" content=
"full text search, desktop search, unix, linux">
<meta http-equiv="Content-language" content="en">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="robots" content="All,Index,Follow">
<link type="text/css" rel="stylesheet" href="../../styles/style.css">
</head>
<body>
<div class="rightlinks">
<ul>
<li><a href="../../index.html">Home</a></li>
<li><a href="../../doc.html">Documentation</a></li>
<li><a href="../index.html">Howtos</a></li>
</ul>
</div>
<div class="content">
<h1>Preventing indexing in a directory</h1>
<h2>Why would you want to do this ?</h2>
<p>By default, recollindex (or the indexing thread inside the
recoll QT user interface) will process your home directories and
most its subdirectories, at the exception of some well known
places (thumbnails, beagle and web browser caches, etc.)</p>
<p>You may want to prevent indexing in some directories where
you don't expect interesting search results. This will avoid
polluting the search result lists, speed up indexing times and
make the index smaller.</p>
<h2>How to do it</h2>
<p>There are two ways to block indexing at certain points:
either by listing specific paths, or by directory name pattern
matches.</p>
<ul>
<li><em>Blocking specific paths</em>: this is controlled by
the <tt>skippedPaths</tt> variable in the main configuration
file. You can adjust the value either by editing the file or
by using the indexing configuration dialog:
<span class="guimenu">Preferences->Indexing configuration->Global parameters->Skipped paths</span></li>
<li><em>Using pattern matches</em>: these are listed in the
<tt>skippedNames</tt> variable in the main configuration file. You
can adjust the value either by editing the file or by using
the GUI:
<span class="guimenu">Preferences->Indexing configuration->Local parameters->Skipped names</span></li>
</ul>
</div>
</body>
</html>