Class ElasticsearchService
java.lang.Object
com.popush.henrietta.elasticsearch.service.ElasticsearchService
@Service
public class ElasticsearchService
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ElasticsearchService()
-
Method Summary
Modifier and Type Method Description EsResponseContainer<ParatranzAggregationReport>
aggReport(BotCallCommand botCallCommand)
EsResponseContainer<ParatranzEntry>
searchPartialMatch(BotCallCommand botCallCommand, int size)
EsResponseContainer<ParatranzEntry>
searchTerm(BotCallCommand botCallCommand, int size)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchService
public ElasticsearchService()
-
-
Method Details
-
aggReport
public EsResponseContainer<ParatranzAggregationReport> aggReport(@Nonnull BotCallCommand botCallCommand) -
searchTerm
public EsResponseContainer<ParatranzEntry> searchTerm(@Nonnull BotCallCommand botCallCommand, int size) -
searchPartialMatch
public EsResponseContainer<ParatranzEntry> searchPartialMatch(@Nonnull BotCallCommand botCallCommand, int size)
-