|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.lucene.FieldNames
public class FieldNames
Defines field names that are used internally to store UUID, etc in the search index.
| Field Summary | |
|---|---|
static java.lang.String |
AGGREGATED_NODE_UUID
Name of the field that contains the UUIDs of the aggregated nodes. |
static java.lang.String |
FULLTEXT
Name of the field that contains the fulltext index including terms from all properties of a node. |
static java.lang.String |
FULLTEXT_PREFIX
Prefix for all field names that are fulltext indexed by property name. |
static java.lang.String |
LABEL
Name of the field that contains the label of the node. |
static java.lang.String |
LOCAL_NAME
Name of the field that contains the local name of the node. |
static java.lang.String |
MVP
Name of the field that contains the names of multi-valued properties that hold more than one value. |
static java.lang.String |
NAMESPACE_URI
Name of the field that contains the namespace URI of the node name. |
static java.lang.String |
PARENT
Name of the field that contains the UUID of the parent node. |
static java.lang.String |
PROPERTIES
Name of the field that contains all values of properties that are indexed as is without tokenizing. |
static java.lang.String |
PROPERTIES_SET
Name of the field that contains the names of all properties that are set on an indexed node. |
static java.lang.String |
PROPERTY_LENGTHS
Name of the field that contains the lengths of properties. |
static java.lang.String |
REINDEXING_REQUIRED
Name of the field that marks nodes that require reindexing because the text extraction process timed out. |
static java.lang.String |
UUID
Name of the field that contains the UUID of the node. |
| Method Summary | |
|---|---|
static java.lang.String |
createNamedLength(java.lang.String propertyName,
long length)
Returns a named length for use as a term in the index. |
static java.lang.String |
createNamedValue(java.lang.String fieldName,
java.lang.String value)
Returns a named value for use as a term in the index. |
static int |
getNameLength(java.lang.String namedValue)
Returns the length of the field prefix in namedValue. |
| 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 UUID
public static final java.lang.String FULLTEXT
public static final java.lang.String FULLTEXT_PREFIX
public static final java.lang.String PARENT
public static final java.lang.String LABEL
public static final java.lang.String LOCAL_NAME
public static final java.lang.String NAMESPACE_URI
public static final java.lang.String MVP
public static final java.lang.String PROPERTIES
public static final java.lang.String PROPERTIES_SET
public static final java.lang.String AGGREGATED_NODE_UUID
public static final java.lang.String PROPERTY_LENGTHS
createNamedLength(String, long).
public static final java.lang.String REINDEXING_REQUIRED
IndexingQueue.
| Method Detail |
|---|
public static java.lang.String createNamedLength(java.lang.String propertyName,
long length)
propertyName + '[' +
LongField.longToString(long).
propertyName - a property name.length - the length of the property value.
public static java.lang.String createNamedValue(java.lang.String fieldName,
java.lang.String value)
fieldName + '[' + value
fieldName - the field name.value - the value.
public static int getNameLength(java.lang.String namedValue)
namedValue. See
also createNamedValue(String, String). If namedValue
does not contain a name prefix, this method return 0.
namedValue - the named value as created by createNamedValue(String, String).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||