Package com.day.cq.search.suggest
Interface PathBuilder
public interface PathBuilder
Interface for building the internal index path for a given term. The
SuggestionIndexManager will use this service interface for the
SuggestionIndexes. A default path builder is provided.
Note that implementations must be thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionbuildTermPath(String term) Returns a relative path for the given term.
-
Method Details
-
buildTermPath
Returns a relative path for the given term.- Parameters:
term- the term to build the path for- Returns:
- a relative repository path
-