public class IndexerField extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.document.FieldType |
ANALYZED_NOT_STORED
Indexed, tokenized, not stored.
|
static org.apache.lucene.document.FieldType |
ANALYZED_STORED
Indexed, tokenized, stored.
|
static org.apache.lucene.document.FieldType |
KEYWORD_NOT_STORED
Indexed, not tokenized, not stored.
|
static org.apache.lucene.document.FieldType |
KEYWORD_STORED
Indexed, not tokenized, stored.
|
Constructor and Description |
---|
IndexerField(Field ontology,
IndexerFieldVersion version,
String key,
String description,
org.apache.lucene.document.FieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.document.FieldType |
getFieldType() |
String |
getKey() |
Field |
getOntology() |
IndexerFieldVersion |
getVersion() |
boolean |
isIndexed() |
boolean |
isKeyword() |
boolean |
isStored() |
org.apache.lucene.document.Field |
toField(String value) |
public static final org.apache.lucene.document.FieldType KEYWORD_NOT_STORED
public static final org.apache.lucene.document.FieldType KEYWORD_STORED
public static final org.apache.lucene.document.FieldType ANALYZED_NOT_STORED
public static final org.apache.lucene.document.FieldType ANALYZED_STORED
public IndexerField(Field ontology, IndexerFieldVersion version, String key, String description, org.apache.lucene.document.FieldType fieldType)
public Field getOntology()
public IndexerFieldVersion getVersion()
public String getKey()
public org.apache.lucene.document.FieldType getFieldType()
public boolean isIndexed()
public boolean isKeyword()
public boolean isStored()
public org.apache.lucene.document.Field toField(String value)
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.