[英]The Best way to use ElasticSearch in Spring java framework
[英]What is the best way to use Spring and ElasticSearch?
我必须通过使用springframework实现一些应用程序。 我要做的只是从存储库中选择(没有RDBMS,可能是lucene或弹性搜索核心),然后为客户显示一些视图页面。 那不是保存或更新,而是读取。
在spring框架中选择存储库的最佳方法是什么?
您可以使用spring-data- elasticsearch,它是ElasticSearch的Spring Data实现。
为了开始使用,您可能要参考https://www.mkyong.com/spring-boot/spring-boot-spring-data-elasticsearch-example/ ,其中以示例说明了集成。 尽管它有些陈旧,但是为您提供了足够的信息以使其正常运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.