All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.day.cq.search.suggest.PathBuilder Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
package com.day.cq.search.suggest;

import aQute.bnd.annotation.ConsumerType;

/**
 * Interface for building the internal index path for a given term. The
 * {@link SuggestionIndexManager} will use this service interface for the
 * {@link SuggestionIndex}es. A default path builder is provided.
 * 
 * 

* Note that implementations must be thread-safe. */ @ConsumerType public interface PathBuilder { /** * Returns a relative path for the given term. * * @param term the term to build the path for * @return a relative repository path */ String buildTermPath(String term); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy