Interface NodeNameIndexer
-
public interface NodeNameIndexer
Deprecated.Use oak's lucene suggestions instead.This index is offering a free text search on node properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<Map<String,String>>
search(String substring, String rootLocation, String[] nodeTypes)
Deprecated.Use oak's lucene suggestions instead.List<Map<String,String>>
search(String substring, String rootLocation, String[] nodeTypes, Locale locale)
Deprecated.Use oak's lucene suggestions instead.
-
-
-
Method Detail
-
search
List<Map<String,String>> search(String substring, String rootLocation, String[] nodeTypes)
Deprecated.Use oak's lucene suggestions instead.- Parameters:
substring
- filters out a property map if none of its property contains itrootLocation
- filters out a property map if the indexed node is not a child of itnodeTypes
- filters out a property map if the indexed node is not of any type contained in it- Returns:
- the list of properties map matching the
substring
,rootLocation
andnodeTypes
-
search
List<Map<String,String>> search(String substring, String rootLocation, String[] nodeTypes, Locale locale)
Deprecated.Use oak's lucene suggestions instead.- Parameters:
substring
- filters out a property map if none of its property contains itrootLocation
- filters out a property map if the indexed node is not a child of itnodeTypes
- filters out a property map if the indexed node is not of any type contained in itlocale
- filters out a property map if the indexed node locale does not matches it. if no property map matches the given locale, then the one with the default locale is selected.- Returns:
- the list of properties map matching the
substring
,rootLocation
,nodeTypes
andlocale
-
-