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