elasticsearch - match_phrase_prefix query for HibernateSearch
问题描述
Is it possible to execute match_phrase_prefix
in using hibernate search Query? I did not find any appropriate query class so far. I also don't want user ElasticsearchQueries.fromJson
since I need to combine different conditions using bool
解决方案
If you do not want to use ElasticsearchQueries.fromJson
, then no, it's not possible to do that through the Hibernate Search APIs. That's a limitation of the experimental support for Elasticsearch in Hibernate Search 5.
It will be possible in Hibernate Search 6, but it's still an Alpha.
推荐阅读
- javascript - 切换元素显示的 JavaScript 中的 ON/OFF 事件侦听器
- go - 如何在 Go 中获取 DNS 解析失败(NXDOMAIN)的主机的 CNAME?
- php - 如何防止 laravel 在测试中触发事件?
- java - 在 webapp 中删除文件时,Tomcat 8.5.42 权限被拒绝
- wordpress - 由于图像,http -> https 之后的混合内容。如何在没有插件的情况下在数据库中更改它们?
- sql - Execute all the stored procedures in the database with dummy input parameters
- css - Media Queries not working in IE11 (Resolution problem)
- php - 如何在使用 Ajax 将数据插入数据库时修复 500 内部服务器错误
- swift - UIImagePickerController Navigation Bar Tint Color not working with iOS 13
- python - 无法保持 Spark Thrift 服务器运行