Spring Boot,休眠搜索属性 [英] Spring Boot, Hibernate Search properties
本文介绍了Spring Boot,休眠搜索属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用Spring Boot时如何提供Hibernate Search参数?
How to provide Hibernate Search parameters when using Spring Boot?
...
spring.datasource.driverClassName=org.postgresql.Driver
hibernate.search.jmx_enabled=true
hibernate.search.default.directory_provider=filesystem
hibernate.search.generate_statistics=true
hibernate.search.lucene_version=LUCENE_CURRENT
hibernate.search.default.indexBase=/mypath-to-index
它不在乎我提供什么.始终会应用默认设置.
It does not care what I provide. Default settings always get applied.
我认为下面的代码没有任何东西可以处理与Hibernate Search相关的属性.这可以成为问题吗?
I think below code does not have anything to process properties related to Hibernate Search. Can that be the issue?
查看全文