Skip navigation links


com.fatwire.cs.core.search.engine
Interface SearchEngineConfig


public interface SearchEngineConfig

An SearchEngineConfig represents the Configuration information for Content Server search engines. It should be used to retrieve the list of search engines defined in Content Server and retrieve the metadata information defined for each search engine given name; it is also used to retrieve the SearchEngine impelmenation given name


Method Summary
 SearchEngine getEngine(java.lang.String name)
          Gets an instance of SearchEngine for the given search engine name
 java.util.List<java.lang.String> getEngineNames()
          Gets the list of search engines names configured in Content Server
 SearchEngineMetadata getMetadata(java.lang.String engineName)
          Gets the metadata information configured for search engine in Content Server

 

Method Detail

getEngineNames

java.util.List<java.lang.String> getEngineNames()
Gets the list of search engines names configured in Content Server
Returns:
the list of String names configured in Content Server

getMetadata

SearchEngineMetadata getMetadata(java.lang.String engineName)
Gets the metadata information configured for search engine in Content Server
Parameters:
engineName - the name of the search engine of which we want to retrieve the metadata
Returns:
the SearchEngineMetadata configured for the given search engine

getEngine

SearchEngine getEngine(java.lang.String name)
Gets an instance of SearchEngine for the given search engine name
Parameters:
name - the String name of the search engine
Returns:
the SearchEngine instance of the given name

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.