@Deprecated public class SimplePropertyDefinition extends java.lang.Object implements PropertyDefinition
Constructor and Description |
---|
SimplePropertyDefinition(java.lang.String property,
java.lang.String nodeName)
Deprecated.
Creates a simple PropertyDefinition for oak lucene index
|
SimplePropertyDefinition(java.lang.String property,
java.lang.String nodeName,
boolean index,
boolean propertyIndex,
boolean isRegexp)
Deprecated.
|
SimplePropertyDefinition(java.lang.String property,
java.lang.String nodeName,
float boost)
Deprecated.
|
SimplePropertyDefinition(java.lang.String property,
java.lang.String nodeName,
float boost,
boolean analyzed)
Deprecated.
|
SimplePropertyDefinition(java.lang.String property,
java.lang.String nodeName,
float boost,
boolean analyzed,
boolean useInSuggest)
Deprecated.
|
SimplePropertyDefinition(java.lang.String property,
java.lang.String nodeName,
float boost,
boolean analyzed,
boolean useInSuggest,
boolean useInSpellcheck)
Deprecated.
|
SimplePropertyDefinition(java.lang.String property,
java.lang.String nodeName,
java.lang.String propertyType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
build(Resource resource)
Deprecated.
Creates PropertyDefinition under the given resource
|
void |
setAnalyzed(boolean analyzed)
Deprecated.
|
void |
setBoost(float boost)
Deprecated.
|
void |
setNodeName(java.lang.String nodeName)
Deprecated.
|
void |
setProperty(java.lang.String prop)
Deprecated.
|
void |
setPropertyType(java.lang.String type)
Deprecated.
|
void |
setUseInSpellcheck(boolean useInSpellcheck)
Deprecated.
|
void |
setUseInSuggest(boolean useInSuggest)
Deprecated.
|
public SimplePropertyDefinition(java.lang.String property, java.lang.String nodeName)
property
- property to indexnodeName
- PropertyDefinition node namepublic SimplePropertyDefinition(java.lang.String property, java.lang.String nodeName, float boost)
property
- property to indexnodeName
- property definition node nameboost
- index time field boost factorpublic SimplePropertyDefinition(java.lang.String property, java.lang.String nodeName, java.lang.String propertyType)
property
- property to indexnodeName
- property definition node namepropertyType
- propertyTypepublic SimplePropertyDefinition(java.lang.String property, java.lang.String nodeName, float boost, boolean analyzed)
public SimplePropertyDefinition(java.lang.String property, java.lang.String nodeName, float boost, boolean analyzed, boolean useInSuggest)
public SimplePropertyDefinition(java.lang.String property, java.lang.String nodeName, float boost, boolean analyzed, boolean useInSuggest, boolean useInSpellcheck)
public SimplePropertyDefinition(java.lang.String property, java.lang.String nodeName, boolean index, boolean propertyIndex, boolean isRegexp)
public void setNodeName(java.lang.String nodeName)
public void setProperty(java.lang.String prop)
public void setPropertyType(java.lang.String type)
public void setBoost(float boost)
public void setAnalyzed(boolean analyzed)
public void setUseInSuggest(boolean useInSuggest)
public void setUseInSpellcheck(boolean useInSpellcheck)
public void build(Resource resource) throws PersistenceException
build
in interface PropertyDefinition
resource
- Resource under which PropertyDefinition is to be createdPersistenceException
Copyright © 2010 - 2020 Adobe. All Rights Reserved