public class IndexType extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
APXCOUNT |
static String |
COLLECTION_FIELD
The field name for the collection id of a record
|
static String |
DOCID_FIELD
The field name of an index type that indicates the document id of a record
|
static String |
DOCNR |
static String[] |
GEODEFAULT |
static String |
GEOFIELD
Default searchable field for Geo Index
|
protected String |
indexType
The definition of this index type
|
protected String |
indexTypeID
The name of this index type
|
static String |
LANG_UNKNOWN |
static String |
LANGUAGE_FIELD
The field name for the collection language of a record
|
static String |
MBR |
static String |
PAYLOAD_FIELD
The field name of an index type that indicates the full payload of a record
|
static String |
PRESENTABLE_TAG
Tag for presentable fields in the field info published
|
static String |
RATIO
Optional Default Fields for geo results
|
static String |
RESULTSNO_EVENT |
static String |
RESULTSNOFINAL_EVENT |
static String |
SCORE_FIELD
The field name of an index type that indicates the ranking of a record
|
static String |
SEARCHABLE_TAG
Tag for searchable fields in the field info published
|
static String |
SEPERATOR_FIELD_INFO
Seperator for the field info published
|
static String |
SNIPPET
Snippet character
|
static String |
STATS_FIELD
The field name of an index type that indicates the docStatistics of a record
|
static String |
WILDCARD
Wildcard character
|
| Modifier | Constructor and Description |
|---|---|
protected |
IndexType(String indexTypeName)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIndexTypeAsString()
Returns the index type XML definition
|
String |
getIndexTypeName()
Returns the index type name.
|
String |
retrieveIndexTypeGenericResource(String scope)
Retrieves an index type definition stored as a generic resource in
the DIS and returns it as a string.
|
public static final String DOCID_FIELD
public static final String PAYLOAD_FIELD
public static final String STATS_FIELD
public static final String SCORE_FIELD
public static final String COLLECTION_FIELD
public static final String LANGUAGE_FIELD
public static final String SEPERATOR_FIELD_INFO
public static final String WILDCARD
public static final String SNIPPET
public static final String PRESENTABLE_TAG
public static final String SEARCHABLE_TAG
public static final String RESULTSNO_EVENT
public static final String RESULTSNOFINAL_EVENT
public static final String LANG_UNKNOWN
public static final String GEOFIELD
public static final String RATIO
public static final String APXCOUNT
public static final String DOCNR
public static final String MBR
public static final String[] GEODEFAULT
protected String indexTypeID
protected String indexType
protected IndexType(String indexTypeName)
indexTypeName - the name of this index typepublic String getIndexTypeName()
public String getIndexTypeAsString()
public String retrieveIndexTypeGenericResource(String scope) throws Exception
indexTypeName - the name of the index type to retrievescope - the scope that the index type belongs toExceptionCopyright © 2017. All Rights Reserved.