public class SchemaFieldResolver extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BINARY_SUFFIX |
static String |
BOOLEAN_SUFFIX |
static String |
DATE_SUFFIX |
static String |
DOUBLE_SUFFIX |
static String |
FLOAT_SUFFIX |
static String |
GEO_SUFFIX |
static String |
HAS_CASE |
static String |
INDEXED |
static String |
INTEGER_SUFFIX |
static String |
LONG_SUFFIX |
static String |
METACARD_TYPE_FIELD_NAME |
static String |
METACARD_TYPE_OBJECT_FIELD_NAME |
static String |
OBJECT_SUFFIX |
static String |
SHORT_SUFFIX |
static String |
TEXT_PATH |
static String |
TEXT_SUFFIX |
static String |
TOKENIZED |
static String |
XML_SUFFIX |
Constructor and Description |
---|
SchemaFieldResolver(org.apache.solr.client.solrj.SolrClient client) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldSuffix(AttributeFormat attributeFormat) |
AttributeFormat |
getFormat(String suffix) |
SchemaField |
getSchemaField(String propertyName,
boolean isSearchedAsExactValue) |
public static final String OBJECT_SUFFIX
public static final String LONG_SUFFIX
public static final String INTEGER_SUFFIX
public static final String SHORT_SUFFIX
public static final String FLOAT_SUFFIX
public static final String DOUBLE_SUFFIX
public static final String BOOLEAN_SUFFIX
public static final String GEO_SUFFIX
public static final String TEXT_SUFFIX
public static final String XML_SUFFIX
public static final String DATE_SUFFIX
public static final String BINARY_SUFFIX
public static final String TOKENIZED
public static final String HAS_CASE
public static final String TEXT_PATH
public static final String INDEXED
public static final String METACARD_TYPE_FIELD_NAME
public static final String METACARD_TYPE_OBJECT_FIELD_NAME
public SchemaFieldResolver(org.apache.solr.client.solrj.SolrClient client)
public AttributeFormat getFormat(String suffix)
public String getFieldSuffix(AttributeFormat attributeFormat)
public SchemaField getSchemaField(String propertyName, boolean isSearchedAsExactValue)
This work is licensed under a Creative Commons Attribution 4.0 International License.