com.liferay.portal.kernel.search
Class DummyIndexSearcher
java.lang.Object
com.liferay.portal.kernel.search.DummyIndexSearcher
- All Implemented Interfaces:
- IndexSearcher, QuerySuggester
public class DummyIndexSearcher
- extends Object
- implements IndexSearcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyIndexSearcher
public DummyIndexSearcher()
search
public Hits search(SearchContext searchContext,
Query query)
- Specified by:
search
in interface IndexSearcher
search
public Hits search(String searchEngineId,
long companyId,
Query query,
Sort[] sort,
int start,
int end)
- Specified by:
search
in interface IndexSearcher
spellCheckKeywords
public String spellCheckKeywords(SearchContext searchContext)
- Specified by:
spellCheckKeywords
in interface QuerySuggester
spellCheckKeywords
public Map<String,List<String>> spellCheckKeywords(SearchContext searchContext,
int max)
- Specified by:
spellCheckKeywords
in interface QuerySuggester
suggestKeywordQueries
public String[] suggestKeywordQueries(SearchContext searchContext,
int max)
- Specified by:
suggestKeywordQueries
in interface QuerySuggester