Copyright© 2008-2022 Sitevision AB, all rights reserved.
@Requireable(value="IndexUtil") public interface IndexUtil
An instance of the Sitevision class implementing this interface can be obtained via
SearchFactory.getIndexUtil().
See SearchFactory for how to obtain an instance of the SearchFactory interface.
| Modifier and Type | Interface and Description |
|---|---|
static class |
IndexUtil.IndexType
Type of default index, used by
IndexUtil. |
| Modifier and Type | Method and Description |
|---|---|
Node |
getDefaultIndex(IndexUtil.IndexType aIndexType)
Gets the default index for a specified index type.
|
Node |
getIndexByName(String aIndexName)
Gets an index by name.
|
Node getDefaultIndex(IndexUtil.IndexType aIndexType)
Note!The default user identity index is only handled if a Social Collaboration license is in use. The default user-generated content (UGC) index is only handled if a Social Collaboration license is in use.
aIndexType - type of indexaIndexType, or null if not availableNode getIndexByName(String aIndexName)
Lookup order:
IndexUtil.IndexTypeNote! Custom index is only handled if a Search Package 2 license is in use. The default user identity index is only handled if a Social Collaboration license is in use. The default user-generated content (UGC) index is only handled if a Social Collaboration license is in use.
aIndexName - the name of the indexnull if no index matches aIndexNameSitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.