Class DefaultContentNameSearchService
java.lang.Object
com.atlassian.confluence.impl.search.contentnames.DefaultContentNameSearchService
- All Implemented Interfaces:
ContentNameSearchService
-
Field Summary
FieldsFields inherited from interface com.atlassian.confluence.search.contentnames.ContentNameSearchService
DEFAULT_MAX_RESULTS_PER_CATEGORY, DEFAULT_TOTAL_MAX_RESULTS
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultContentNameSearchService
(SettingsManager settingsManager, I18NBeanFactory i18NBeanFactory, QueryTokenizer contentNameQueryTokenizer, SemaphoreHolder contentNameSearchSemaphoreHolder, com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescriptionsearch
(String query, ContentNameSearchContext context) This performs a content name search in Confluence and returns the results.
-
Field Details
-
SEARCH_FOR_CSS_CLASS
- See Also:
-
-
Constructor Details
-
DefaultContentNameSearchService
public DefaultContentNameSearchService(SettingsManager settingsManager, I18NBeanFactory i18NBeanFactory, QueryTokenizer contentNameQueryTokenizer, SemaphoreHolder contentNameSearchSemaphoreHolder, com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
search
Description copied from interface:ContentNameSearchService
This performs a content name search in Confluence and returns the results.- Specified by:
search
in interfaceContentNameSearchService
- Parameters:
query
- The text that the user wishes to search for.context
- The search context to be used in order to carry the search request- Returns:
- The search results. Errors are also encapsulated in the returned object, null should NOT be returned.
-