Interface SearchManager

All Known Subinterfaces:
OpenSearchSearchManager
All Known Implementing Classes:
DecoratedSearchManager, DefaultOpenSearchSearchManager, LuceneSearchManager, ProfiledSearchManager

public interface SearchManager
A V2 interface which provides searching functionality on a search index.

NOTE: A newer alternative which also includes write, transactional, reset and snapshot behaviour is SearchIndexAccessor. It also supports custom search indexes through CustomSearchIndexRegistry or extending DelegatingSearchIndexAccessor.

WARNING: there is no default permissions checking behaviour provided. You MUST provide a search which specifies permissions checking. See SiteSearchPermissionsQueryFactory to add one yourself. See PredefinedSearchBuilder to build a pre-defined search which contains permission checking.

See Also: