/** * This file is auto generated from JavaDoc. Do not modify it manually. */ import type IndexType from "../IndexUtil.IndexType"; import type { Node } from "../../types/javax/jcr/Node"; import type { String } from "../../types/java/lang/String"; /** * Index utility interface. * *
* An instance of the Sitevision class implementing this interface can be obtained via
* {@link senselogic.sitevision.api.search.SearchFactory#getIndexUtil()}.
* See {@link senselogic.sitevision.api.search.SearchFactory} for how to obtain an instance of the SearchFactory interface.
*
* 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. *
* @param aIndexType type of index * @return the default index foraIndexType, or null if not available
*/
getDefaultIndex(aIndexType: IndexType): Node;
/**
* Gets an index by name.
*
* * Lookup order: *
** Note! 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. *
* @param aIndexName the name of the index * @return the index ornull if no index matches aIndexName
*/
getIndexByName(aIndexName: String | string): Node;
}
declare namespace IndexUtil {}
declare var indexUtil: IndexUtil;
export default indexUtil;