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
      java.util.List<java.util.Map<java.lang.String,​java.lang.String>> search​(java.lang.String substring, java.lang.String rootLocation, java.lang.String[] nodeTypes)
      Deprecated.
      Use oak's lucene suggestions instead.
      java.util.List<java.util.Map<java.lang.String,​java.lang.String>> search​(java.lang.String substring, java.lang.String rootLocation, java.lang.String[] nodeTypes, java.util.Locale locale)
      Deprecated.
      Use oak's lucene suggestions instead.
    • Method Detail

      • search

        java.util.List<java.util.Map<java.lang.String,​java.lang.String>> search​(java.lang.String substring,
                                                                                      java.lang.String rootLocation,
                                                                                      java.lang.String[] nodeTypes)
        Deprecated.
        Use oak's lucene suggestions instead.
        Parameters:
        substring - filters out a property map if none of its property contains it
        rootLocation - filters out a property map if the indexed node is not a child of it
        nodeTypes - 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 and nodeTypes
      • search

        java.util.List<java.util.Map<java.lang.String,​java.lang.String>> search​(java.lang.String substring,
                                                                                      java.lang.String rootLocation,
                                                                                      java.lang.String[] nodeTypes,
                                                                                      java.util.Locale locale)
        Deprecated.
        Use oak's lucene suggestions instead.
        Parameters:
        substring - filters out a property map if none of its property contains it
        rootLocation - filters out a property map if the indexed node is not a child of it
        nodeTypes - filters out a property map if the indexed node is not of any type contained in it
        locale - 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 and locale