public class IndexManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INDEX_CONFIG_PATH
The root node of the index definition (configuration) nodes.
|
| Constructor and Description |
|---|
IndexManager() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
createPropertyIndex(javax.jcr.Session session,
String propertyName)
Creates a property index for the given property if such an index doesn't
exist yet, and if the repository supports property indexes.
|
public static final String INDEX_CONFIG_PATH
public static boolean createPropertyIndex(javax.jcr.Session session,
String propertyName)
throws javax.jcr.RepositoryException
session - the sessionpropertyName - the property namejavax.jcr.RepositoryExceptionCopyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.