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 SummaryFieldsModifier and TypeFieldDescriptionstatic final org.apache.lucene.document.FieldTypeIndexed, tokenized, not stored.static final org.apache.lucene.document.FieldTypeIndexed, tokenized, stored.static final org.apache.lucene.document.FieldTypeIndexed, not tokenized, not stored.static final org.apache.lucene.document.FieldTypeIndexed, not tokenized, stored.
- 
Constructor SummaryConstructorsConstructorDescriptionIndexerField(Field ontology, IndexerFieldVersion version, String key, String description, org.apache.lucene.document.FieldType fieldType) 
- 
Method Summary
- 
Field Details- 
KEYWORD_NOT_STOREDpublic static final org.apache.lucene.document.FieldType KEYWORD_NOT_STOREDIndexed, not tokenized, not stored.
- 
KEYWORD_STOREDpublic static final org.apache.lucene.document.FieldType KEYWORD_STOREDIndexed, not tokenized, stored.
- 
ANALYZED_NOT_STOREDpublic static final org.apache.lucene.document.FieldType ANALYZED_NOT_STOREDIndexed, tokenized, not stored.
- 
ANALYZED_STOREDpublic static final org.apache.lucene.document.FieldType ANALYZED_STOREDIndexed, tokenized, stored.
 
- 
- 
Constructor Details- 
IndexerFieldpublic IndexerField(Field ontology, IndexerFieldVersion version, String key, String description, org.apache.lucene.document.FieldType fieldType) 
 
- 
- 
Method Details- 
getOntology
- 
getVersion
- 
getKey
- 
getFieldTypepublic org.apache.lucene.document.FieldType getFieldType()
- 
isIndexedpublic boolean isIndexed()
- 
isKeywordpublic boolean isKeyword()
- 
isStoredpublic boolean isStored()
- 
toField
 
-