Interface TurSearchEngineInstanceManager
public interface TurSearchEngineInstanceManager
Interface for managing search engine instances.
Implementations handle the initialization and lifecycle of search engine connections.
- Since:
- 2025.4.4
- Author:
- Alexandre Oliveira
-
Method Summary
Modifier and TypeMethodDescriptionGets the type of search engine this manager handles.getSearchEngineUrl(String siteName, Locale locale) Gets the search engine URL for a given site and locale.initInstance(String siteName, Locale locale) Initializes a search engine instance for the given site and locale.
-
Method Details
-
initInstance
Initializes a search engine instance for the given site and locale.- Parameters:
siteName- the name of the semantic navigation sitelocale- the locale for the search- Returns:
- Optional containing the search engine instance if successful, empty otherwise
-
getSearchEngineUrl
-
getEngineType
String getEngineType()Gets the type of search engine this manager handles.- Returns:
- the search engine type (e.g., "solr", "elasticsearch")
-