Feature #327

Exclude/Include paths, filenames or properties in index process

Added by Karl Heinz Marbaise 609 days ago. Updated 503 days ago.

Status:Closed Start:09/17/2010
Priority:Normal Due date:
Assigned to:Karl Heinz Marbaise % Done:

100%

Category:Indexer
Target version:0.7.1 Dione

Description

It would be nice to have default configuration which defines to index everything but with the option to exclude filenames, paths or properties from the scan process.
It is important to make such kind of configuration in association to a repository to be able to configure rules for different repositories in particular for scheduled configurations.

The following will define a default configuration:

<repositories>
    <repository>
      <id>default<id>
      <filenames>
        <includes>
          <include>.*</include>
        </includes>
      </filenames>
      <paths>
        <includes>
          <include>.*</include>
        </includes>
      </paths>
      <properties>
        <includes>
          <include>.*</include>
        </includes>
      </properties>
    </repository>
</repositories>
The following will be an example of a special configuration to exclude particular types of filenames, paths and properties from the index process.
<repositories>
    <repository>
      <id>SupoSE</id>
      <filenames>
        <includes>
          <include>*</include>
        </includes>
        <excludes>
          <exclude>*.doc</exclude>
        </excludes>
      </filenames>
      <paths>
        <includes>
          <include>.*</include>
        </includes>
        <excludes>
          <exclude>^/.*/tagstest/.*</exclude>
        </excludes>
      </paths>
      <properties>
        <includes>
          <include>.*</include>
        </includes>
        <excludes>
          <exclude>^svk:.*</exclude>
        </excludes>
      </properties>
    </repository>
</repositories>

Related issues

related to SupoSE - Feature #156 Scan and index the filenames only Closed
related to SupoSE - Feature #234 Perform a repositoy scan without file content Closed 10/05/2009

History

Updated by kama - 503 days ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r583.

Also available in: Atom PDF