org.compass.core.config
Class CompassEnvironment.Mapping

java.lang.Object
  extended by org.compass.core.config.CompassEnvironment.Mapping
Enclosing class:
CompassEnvironment

public abstract class CompassEnvironment.Mapping
extends Object

Global settings that affect the different mappings.


Field Summary
static String GLOBAL_INDEX
          The default value of index for mappings.
static String GLOBAL_OMIT_NORMS
          The default value of omit norms for mappings.
static String GLOBAL_OMIT_TF
          The default value of omit tf for mappings.
static String GLOBAL_STORE
          The default value of store for mappings.
static String GLOBAL_TERM_VECTOR
          The default value of term vector for mappings.
static String MAPPING_PREFIX
          Allows to configure (can be confiugred multiple times) with a mapping to use.
static String SCAN_MAPPING_PACKAGE
           
static String SCAN_MAPPING_PATTERN
           
static String SCAN_MAPPING_PREFIX
          A prefix for definting scanning.
 
Constructor Summary
CompassEnvironment.Mapping()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL_STORE

public static final String GLOBAL_STORE
The default value of store for mappings. If set, will be used for all the mappings that have not explicitly set it. If not set, will be Property.Store.YES.

See Also:
Constant Field Values

GLOBAL_INDEX

public static final String GLOBAL_INDEX
The default value of index for mappings. If set, will be used for all the mappings that have not explicitly set it. If not set, will be Property.Index.ANALYZED for most properties unless the converer suggested otherwise (such as Property.Index.NOT_ANALYZED for numbers.

See Also:
Constant Field Values

GLOBAL_TERM_VECTOR

public static final String GLOBAL_TERM_VECTOR
The default value of term vector for mappings. If set, will be used for all the mappings that have not explicitly set it. If not set, will be Property.TermVector.NO.

See Also:
Constant Field Values

GLOBAL_OMIT_NORMS

public static final String GLOBAL_OMIT_NORMS
The default value of omit norms for mappings. If set, will be used for all the mappings that have not explicitly set it. If not set, will be false.

See Also:
Constant Field Values

GLOBAL_OMIT_TF

public static final String GLOBAL_OMIT_TF
The default value of omit tf for mappings. If set, will be used for all the mappings that have not explicitly set it. If not set, will be false.

See Also:
Constant Field Values

MAPPING_PREFIX

public static final String MAPPING_PREFIX
Allows to configure (can be confiugred multiple times) with a mapping to use. Can be either a classpath path to the resoruce to the name of the class used.

See Also:
Constant Field Values

SCAN_MAPPING_PREFIX

public static final String SCAN_MAPPING_PREFIX
A prefix for definting scanning. The "logical name" of this scan should be defiend after the prefix, and then at lease the SCAN_MAPPING_PACKAGE must be defiend and optionally another setting with the same logical name and @SCAN_MAPPING_PATTERN.

See Also:
Constant Field Values

SCAN_MAPPING_PACKAGE

public static final String SCAN_MAPPING_PACKAGE
See Also:
Constant Field Values

SCAN_MAPPING_PATTERN

public static final String SCAN_MAPPING_PATTERN
See Also:
Constant Field Values
Constructor Detail

CompassEnvironment.Mapping

public CompassEnvironment.Mapping()


Copyright (c) 2004-2008 The Compass Project.