org.apache.maven.index
Class IndexerField
java.lang.Object
org.apache.maven.index.IndexerField
public class IndexerField
- extends Object
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
Constructor Summary |
IndexerField(Field ontology,
IndexerFieldVersion version,
String key,
String description,
org.apache.lucene.document.Field.Store storeMethod,
org.apache.lucene.document.Field.Index indexMethod)
|
IndexerField(Field ontology,
IndexerFieldVersion version,
String key,
String description,
org.apache.lucene.document.Field.Store storeMethod,
org.apache.lucene.document.Field.Index indexMethod,
org.apache.lucene.document.Field.TermVector termVector)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexerField
public IndexerField(Field ontology,
IndexerFieldVersion version,
String key,
String description,
org.apache.lucene.document.Field.Store storeMethod,
org.apache.lucene.document.Field.Index indexMethod)
IndexerField
public IndexerField(Field ontology,
IndexerFieldVersion version,
String key,
String description,
org.apache.lucene.document.Field.Store storeMethod,
org.apache.lucene.document.Field.Index indexMethod,
org.apache.lucene.document.Field.TermVector termVector)
getOntology
public Field getOntology()
getVersion
public IndexerFieldVersion getVersion()
getKey
public String getKey()
getStoreMethod
public org.apache.lucene.document.Field.Store getStoreMethod()
getIndexMethod
public org.apache.lucene.document.Field.Index getIndexMethod()
getTermVector
public org.apache.lucene.document.Field.TermVector getTermVector()
isIndexed
public boolean isIndexed()
isKeyword
public boolean isKeyword()
isStored
public boolean isStored()
toField
public org.apache.lucene.document.Field toField(String value)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.