[hibernate-commits] [hibernate/hibernate-search] 977848: HSEARCH-2724 Clarify that "directory-based" indexe...

GitHub noreply at github.com
Mon May 15 06:15:06 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 97784841a9aad6415c02919980736c15550b8f11
      https://github.com/hibernate/hibernate-search/commit/97784841a9aad6415c02919980736c15550b8f11
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
    M engine/src/main/java/org/hibernate/search/indexes/spi/DirectoryBasedIndexManager.java
    M engine/src/main/java/org/hibernate/search/query/engine/impl/LuceneHSQuery.java
    M engine/src/main/java/org/hibernate/search/util/logging/impl/Log.java

  Log Message:
  -----------
  HSEARCH-2724 Clarify that "directory-based" indexes are actually just "embedded Lucene" indexes

About the log message: I did not add any recommendation as to how to fix
the issue. That's because you can only get this error two ways

 1. You tried to query an entity which is mapped to a custom (non-lucene,
non-elasticsearch) index manager which does not extend
DirectoryBasedIndexManager.
 2. You tried to call SearchIntegrator.createHSQuery(), which is a
deprecated SPI that _we_ don't use internally, so you had to call
it directly.

In both cases, it's advanced use, and I simply cannot give a one-liner
solution.




More information about the hibernate-commits mailing list