|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eaglei.search.provider.lucene.LuceneSearchIndexSchema
public class LuceneSearchIndexSchema
Holds information about the schema for the Lucene index used to support search over eagle-i RDF resource data. This index is populated from the RDF data by creating a Lucene document for each eagle-i "resource" (or subject RDF resource whose type is a subclass of the "resource" types). Each of these documents contains fields for the direct resource data type and object properties as well as fields corresponding to indirect relationships: inferred types and textual descriptions of resource related by object properties. The following fixed field names are supported (see Javadocs below for details):
| Field Summary | |
|---|---|
static float |
HIGH_BOOST
High boost |
static float |
HIGHEST_BOOST
Highest boost |
static boolean |
INDEX_OBJECT_PROP_LABELS
Flag that controls whether the preferred labels of object properties are indexed/updated |
static java.lang.String |
INFERRED_TYPE
Multi-valued field that holds the URIs of all inferred classes. |
static java.lang.String |
INSTITUTION_LABEL
Holds the name of the institution. |
static java.lang.String |
INSTITUTION_URI
Holds the URI of the institution. |
static float |
LOW_BOOST
Boost value for fields that should be should be given a lower than normal boost. |
static float |
MEDIUM_BOOST
Medium boost |
static java.lang.String |
OBJECT_URI_POSTFIX
Suffix for fields that are used to represent object properties. |
static java.lang.String |
PREF_TEXT
Multi-valued field that holds the lexical form of all preferred datatype properties. |
static java.lang.String |
RELATED
Multi-valued field that holds the URIs of all object properties. |
static java.lang.String |
RESOURCE_FLAG
Field that holds a boolean value indicating whether the resource is an eagle-i resource (i.e. |
static float |
STANDARD_BOOST
Standard boost |
static java.lang.String |
TEXT
Multi-valued field that holds the lexical form of preferred datatype properties, non-preferred datatype properties and preferred datatype props of resource related by object props. |
static java.lang.String |
URI
The unique URI of the resource. |
| Constructor Summary | |
|---|---|
LuceneSearchIndexSchema()
|
|
| Method Summary | |
|---|---|
protected static boolean |
isLabProperty(java.lang.String uri)
Checks if the specified property represents a property that associates a resource with a lab |
protected static boolean |
isPropertyField(java.lang.String fieldName)
Checks if the Lucene document field represents a data type or object property |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String URI
public static final java.lang.String RESOURCE_FLAG
public static final java.lang.String RELATED
public static final java.lang.String PREF_TEXT
public static final java.lang.String TEXT
public static final java.lang.String INFERRED_TYPE
public static final java.lang.String INSTITUTION_URI
public static final java.lang.String INSTITUTION_LABEL
public static final java.lang.String OBJECT_URI_POSTFIX
public static final float LOW_BOOST
public static final float STANDARD_BOOST
public static final float MEDIUM_BOOST
public static final float HIGH_BOOST
public static final float HIGHEST_BOOST
public static final boolean INDEX_OBJECT_PROP_LABELS
| Constructor Detail |
|---|
public LuceneSearchIndexSchema()
| Method Detail |
|---|
protected static boolean isPropertyField(java.lang.String fieldName)
protected static boolean isLabProperty(java.lang.String uri)
uri - URI of property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||