title: Spring Boot, Hibernate Search properties
body: <p>How to provide Hibernate Search parameters when using Spring Boot?</p>
  
  <pre><code>...
  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
  </code></pre>
  
  <p>It does not care what I provide. Default settings always get applied.</p>
  
  <p>I think below code does not have anything to process properties related to Hibernate Search. Can that be the issue?</p>
  
  <p><a href="https://github.com/spring-projects/spring-boot/blob/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java" rel="nofollow noreferrer">https://github.com/spring-projects/spring-boot/blob/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java</a></p>