Class ContentIndexSearchServiceImpl

    • Constructor Detail

      • ContentIndexSearchServiceImpl

        public ContentIndexSearchServiceImpl()
    • Method Detail

      • searchPages

        public int[] searchPages​(Website website,
                                 SearchService.PAGE_TYPE type,
                                 String keyword)
        Description copied from interface: SearchService
        Searches for pages that match the specified webid, page type and keyword.
        Specified by:
        searchPages in interface SearchService
        Parameters:
        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
        Returns:
        An array of page version ids matching the specified webid, page type and keyword.