001
014
015 package com.liferay.portlet.imagegallery.util;
016
017 import com.liferay.portal.kernel.search.HitsOpenSearchImpl;
018
019
022 public class IGOpenSearchImpl extends HitsOpenSearchImpl {
023
024 public static final String SEARCH_PATH = "/c/image_gallery/open_search";
025
026 public static final String TITLE = "Liferay Image Gallery Search: ";
027
028 public String getPortletId() {
029 return IGIndexer.PORTLET_ID;
030 }
031
032 public String getSearchPath() {
033 return SEARCH_PATH;
034 }
035
036 public String getTitle(String keywords) {
037 return TITLE + keywords;
038 }
039
040 }