Interface ISearchContext

All Known Implementing Classes:
ISearchContext.SearchContext

public interface ISearchContext
The ISearchContext interface allows search operations to reuse platform services such as the indexer.
  • Method Details

    • getRuntimeContext

      IQueryRuntimeContext getRuntimeContext()
      Provides access to the generic query runtime context of the current engine
      Since:
      1.7
    • getMatcher

      IQueryResultProvider getMatcher(CallWithAdornment dependency)
      Returns a matcher for a selected query specification.
      Throws:
      InterpreterRuntimeException
      Since:
      1.5
    • accessBackendLevelCache

      <T> T accessBackendLevelCache(Object key, Class<? extends T> clazz, IProvider<T> valueProvider)
      Allows search operations to cache values through the entire lifecycle of the local search backend. The values are calculated if not cached before using the given provider, or returned from the cache accordingly.
      Since:
      1.7
    • getLogger

      org.apache.log4j.Logger getLogger()
      Returns the engine-specific logger
      Since:
      2.0