public class FieldNames extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AGGREGATED_NODE_UUID
Name of the field that contains the UUIDs of the aggregated nodes.
|
static String |
FULLTEXT
Name of the field that contains the fulltext index including terms
from all properties of a node.
|
static String |
FULLTEXT_PREFIX
Prefix for all field names that are fulltext indexed by property name.
|
static String |
LABEL
Name of the field that contains the label of the node.
|
static String |
LOCAL_NAME
Name of the field that contains the local name of the node.
|
static String |
MVP
Name of the field that contains the names of multi-valued properties that
hold more than one value.
|
static String |
NAMESPACE_URI
Name of the field that contains the namespace URI of the node name.
|
static String |
PARENT
Name of the field that contains the UUID of the parent node.
|
static String |
PROPERTIES
Name of the field that contains all values of properties that are indexed
as is without tokenizing.
|
static String |
PROPERTIES_SET
Name of the field that contains the names of all properties that are set
on an indexed node.
|
static String |
PROPERTY_LENGTHS
Name of the field that contains the lengths of properties.
|
static String |
REINDEXING_REQUIRED
Name of the field that marks nodes that require reindexing because the
text extraction process timed out.
|
static String |
SHAREABLE_NODE
Name of the field that marks shareable nodes.
|
static String |
UUID
Name of the field that contains the UUID of the node.
|
static String |
WEAK_REFS
Name of the field that contains all weak reference property values.
|
Modifier and Type | Method and Description |
---|---|
static String |
createNamedLength(String propertyName,
long length)
Returns a named length for use as a term in the index.
|
static String |
createNamedValue(String fieldName,
String value)
Returns a named value for use as a term in the index.
|
static int |
getNameLength(String namedValue)
Returns the length of the field prefix in
namedValue . |
static boolean |
isFulltextField(String fieldName)
Returns
true if the given fieldName denotes a
fulltext field like FULLTEXT or a field with a
FULLTEXT_PREFIX . |
public static final String UUID
public static final String FULLTEXT
public static final String FULLTEXT_PREFIX
public static final String PARENT
public static final String LABEL
public static final String LOCAL_NAME
public static final String NAMESPACE_URI
public static final String MVP
public static final String PROPERTIES
public static final String PROPERTIES_SET
public static final String AGGREGATED_NODE_UUID
public static final String PROPERTY_LENGTHS
createNamedLength(String, long)
.public static final String REINDEXING_REQUIRED
IndexingQueue
.public static final String SHAREABLE_NODE
public static final String WEAK_REFS
public static String createNamedLength(String propertyName, long length)
propertyName
+ '[' +
LongField.longToString(long)
.propertyName
- a property name.length
- the length of the property value.public static String createNamedValue(String fieldName, String value)
fieldName
+ '[' + valuefieldName
- the field name.value
- the value.public static int getNameLength(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)
.public static boolean isFulltextField(String fieldName)
true
if the given fieldName
denotes a
fulltext field like FULLTEXT
or a field with a
FULLTEXT_PREFIX
.fieldName
- a field name.true
if fieldName
is a fulltext field;
false
otherwise.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.