public class UgcIndexProperty
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UgcIndexProperty.Index
The index types.
|
Constructor and Description |
---|
UgcIndexProperty(java.lang.String name,
java.lang.Object value,
boolean store,
UgcIndexProperty.Index index)
Create a UgcIndexProperty by specifying its name, value and how it will be saved in the index.
|
UgcIndexProperty(java.lang.String name,
java.lang.Object value,
boolean store,
UgcIndexProperty.Index index,
boolean fulltext)
Create a UgcIndexProperty by specifying its name, value and how it will be saved in the index.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.document.Field.Index |
getFieldIndex()
Return the field index.
|
UgcIndexProperty.Index |
getIndex()
Return the index type.
|
java.lang.String |
getName()
Return property name.
|
java.lang.Object |
getValue()
Return property value.
|
boolean |
isFullText()
Return fulltext.
|
boolean |
isStore()
Return true if store.
|
public UgcIndexProperty(java.lang.String name, java.lang.Object value, boolean store, UgcIndexProperty.Index index)
name
- The name of the fieldvalue
- The string to processstore
- Whether value
should be stored in the indexindex
- Whether the field should be indexed, and if so, if it should be tokenized before indexingpublic UgcIndexProperty(java.lang.String name, java.lang.Object value, boolean store, UgcIndexProperty.Index index, boolean fulltext)
name
- The name of the fieldvalue
- The string to processstore
- Whether value
should be stored in the indexindex
- Whether the field should be indexed, and if so, if it should be tokenized before indexingfulltext
- true if full text.public boolean isFullText()
public java.lang.String getName()
public java.lang.Object getValue()
public boolean isStore()
public UgcIndexProperty.Index getIndex()
public org.apache.lucene.document.Field.Index getFieldIndex()
Copyright © 2010 - 2020 Adobe. All Rights Reserved