Package org.wso2.carbon.registry.admin.api.indexing

# Interface IContentBasedSearchService<SearchResultsBean>

Type Parameters:
  `SearchResultsBean` - The results of the executed search

public interface IContentBasedSearchService<SearchResultsBean>
Provides functionality to search inside resource content.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SearchResultsBean`
  `getContentSearchResults(String searchQuery)`
  Method to do a search of the given query in the content of the resources on the registry.

- ## Method Details

  - ### getContentSearchResults

    SearchResultsBean getContentSearchResults(String searchQuery) throws org.apache.axis2.AxisFault
    Method to do a search of the given query in the content of the resources on the registry.
    Parameters:
      `searchQuery` - the search query, should contain a word (or phrase), you want to search for.
    Returns:
      the search results
    Throws:
      `org.apache.axis2.AxisFault` - if the operation failed.