Hibernate Search's SearchConfiguration class defines a "isTransactionManagerExpected()"
method that dictates whether the warning messages should be logged (and that appears
to be the only way in which this method is used).
So far, ModeShape's org.modeshape.jcr.query.lucene.LuceneSearchConfiguration implementation
has returned 'true'. But this method should return 'false', since the re-indexing operations
are not performed within a transaction, so Hibernate Search shouldn't always expect a
transaction. Simply making this change makes the problematic log messages disappear, but
doesn't otherwise affect any functionality.
All unit and integration tests pass with these changes.