-
- All Implemented Interfaces:
-
edu.wgu.osmt.keyword.CustomKeywordRepository
public final class CustomKeywordRepositoryImpl implements CustomKeywordRepository
-
-
Field Summary
Fields Modifier and Type Field Description private final Loggerlogprivate final ElasticsearchTemplateelasticSearchTemplate
-
Constructor Summary
Constructors Constructor Description CustomKeywordRepositoryImpl(ElasticsearchTemplate elasticSearchTemplate)
-
Method Summary
Modifier and Type Method Description final LoggergetLog()ElasticsearchTemplategetElasticSearchTemplate()SearchHits<Keyword>typeAheadSearch(String searchStr, KeywordTypeEnum type)final QuerysearchAll(KeywordTypeEnum type)final QuerysearchSpecific(String searchStr, KeywordTypeEnum type)-
-
Method Detail
-
getLog
final Logger getLog()
-
getElasticSearchTemplate
ElasticsearchTemplate getElasticSearchTemplate()
-
typeAheadSearch
SearchHits<Keyword> typeAheadSearch(String searchStr, KeywordTypeEnum type)
-
searchAll
final Query searchAll(KeywordTypeEnum type)
-
searchSpecific
final Query searchSpecific(String searchStr, KeywordTypeEnum type)
-
-
-
-