public static class TextIndexDefinition.TextIndexedFieldSpec extends Object
| Constructor and Description |
|---|
TextIndexedFieldSpec(String fieldname)
Create new
TextIndexDefinition.TextIndexedFieldSpec for given fieldname without any weight. |
TextIndexedFieldSpec(String fieldname,
Float weight)
Create new
TextIndexDefinition.TextIndexedFieldSpec for given fieldname and weight. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFieldname()
Get the fieldname associated with the
TextIndexDefinition.TextIndexedFieldSpec. |
Float |
getWeight()
Get the weight associated with the
TextIndexDefinition.TextIndexedFieldSpec. |
int |
hashCode() |
boolean |
isWeighted() |
public TextIndexedFieldSpec(String fieldname)
TextIndexDefinition.TextIndexedFieldSpec for given fieldname without any weight.fieldname - public TextIndexedFieldSpec(String fieldname, Float weight)
TextIndexDefinition.TextIndexedFieldSpec for given fieldname and weight.fieldname - weight - public String getFieldname()
TextIndexDefinition.TextIndexedFieldSpec.public Float getWeight()
TextIndexDefinition.TextIndexedFieldSpec.public boolean isWeighted()
weight has a value that is a valid number.Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.