Interface SearchService

  • All Known Implementing Classes:

    public interface SearchService
    This service facilitates searching items in the Content index.
    • Method Detail

      • searchPages

        int[] searchPages​(Website website,
                          SearchService.PAGE_TYPE type,
                          String keyword)
        Searches for pages that match the specified webid, page type and keyword.
        website - the website that must be the owner of the returned page
        type - the type the returned page version should match (either PAGE or BLOCK)
        keyword - the keyword to search for. Note that this search method searches in title, body and more properties
        An array of page version ids matching the specified webid, page type and keyword.