Package org.apache.maven.index
Class IndexerField
java.lang.Object
org.apache.maven.index.IndexerField
Holds basic information about Indexer field, how it is stored. To keep this centralized, and not spread across code.
Since Lucene 2.x, the field names are encoded, so please use real chatty names instead of cryptic chars!
- Author:
- cstamas
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.lucene.document.FieldType
Indexed, tokenized, not stored.static final org.apache.lucene.document.FieldType
Indexed, tokenized, stored.static final org.apache.lucene.document.FieldType
Indexed, not tokenized, not stored.static final org.apache.lucene.document.FieldType
Indexed, not tokenized, stored. -
Constructor Summary
ConstructorDescriptionIndexerField
(Field ontology, IndexerFieldVersion version, String key, String description, org.apache.lucene.document.FieldType fieldType) -
Method Summary
-
Field Details
-
KEYWORD_NOT_STORED
public static final org.apache.lucene.document.FieldType KEYWORD_NOT_STOREDIndexed, not tokenized, not stored. -
KEYWORD_STORED
public static final org.apache.lucene.document.FieldType KEYWORD_STOREDIndexed, not tokenized, stored. -
ANALYZED_NOT_STORED
public static final org.apache.lucene.document.FieldType ANALYZED_NOT_STOREDIndexed, tokenized, not stored. -
ANALYZED_STORED
public static final org.apache.lucene.document.FieldType ANALYZED_STOREDIndexed, tokenized, stored.
-
-
Constructor Details
-
IndexerField
public IndexerField(Field ontology, IndexerFieldVersion version, String key, String description, org.apache.lucene.document.FieldType fieldType)
-
-
Method Details
-
getOntology
-
getVersion
-
getKey
-
getFieldType
public org.apache.lucene.document.FieldType getFieldType() -
isIndexed
public boolean isIndexed() -
isKeyword
public boolean isKeyword() -
isStored
public boolean isStored() -
toField
-