public final class FieldNames extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ANALYZED_FIELD_PREFIX
Prefix for all field names that are fulltext indexed by property name.
|
static String |
ANCESTORS
Name of the field that contains all the path hierarchy e.g.
|
static String |
FULLTEXT
Name of the field that contains the fulltext index.
|
static String |
FULLTEXT_RELATIVE_NODE
Prefix used for storing fulltext of relative node
|
static String |
NODE_NAME
Name of the field that contains the node name
|
static String |
NOT_NULL_PROPS
Name of the field that contains those property names which are exist i.e.
|
static String |
NULL_PROPS
Name of the field that contains those property names which are not found
(or were null) for the given
|
static String |
PATH
Name of the field that contains the ":path" property of the node.
|
static String |
PATH_DEPTH
Name of the field which refers to the depth of path
|
static Set<String> |
PATH_SELECTOR
Used to select only the PATH field from the lucene documents
|
static String |
SPELLCHECK
Name of the field that contains the spellcheck index.
|
static String |
SUGGEST
Name of the field that contains the suggest index.
|
Modifier and Type | Method and Description |
---|---|
static String |
createAnalyzedFieldName(String pname) |
static String |
createDocValFieldName(String name)
Encodes the field name such that it can be used for storing DocValue
This is done such a field if used for both sorting and querying uses
a different name for docvalue field
|
static String |
createFulltextFieldName(String nodeRelativePath) |
public static final String PATH
public static final String ANCESTORS
public static final String PATH_DEPTH
public static final String FULLTEXT
public static final String SUGGEST
public static final String SPELLCHECK
public static final String ANALYZED_FIELD_PREFIX
public static final String FULLTEXT_RELATIVE_NODE
public static final String NULL_PROPS
public static final String NOT_NULL_PROPS
public static final String NODE_NAME
public static String createDocValFieldName(String name)
name
- name to encodeCopyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.