|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.common.IndexType
public class IndexType
| Field Summary | |
|---|---|
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 |
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 |
| Constructor Summary | |
|---|---|
protected |
IndexType(String indexTypeName)
Class constructor. |
| Method Summary | |
|---|---|
String |
getIndexTypeAsString()
Returns the index type XML definition |
String |
getIndexTypeName()
Returns the index type name. |
String |
retrieveIndexTypeGenericResource(org.gcube.common.core.scope.GCUBEScope scope)
Retrieves an index type definition stored as a generic resource in the DIS and returns it as a string. |
static boolean |
sendIndication(long retrieved)
Checks if an indication must be sent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 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
| Constructor Detail |
|---|
protected IndexType(String indexTypeName)
indexTypeName - the name of this index type| Method Detail |
|---|
public String getIndexTypeName()
public String getIndexTypeAsString()
public String retrieveIndexTypeGenericResource(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
indexTypeName - the name of the index type to retrievescope - the scope that the index type belongs to
Exceptionpublic static boolean sendIndication(long retrieved)
retrieved - - the results retrieved so far by an Index Searcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||